Transpose a huxtable
# S3 method for huxtable t(x)
x | A huxtable. |
---|
The transposed object.
Row and column spans of x
will be swapped, as will column widths and row heights,
table width and height, and cell borders (bottom becomes right, etc.).
Other properties - in particular, alignment, vertical alignment and rotation - will be
preserved.
#> a b #> 1 a #> 2 b #> ───────────────────── #> 3 c #> #> Column names: a, bt(ht)#> a 1 2 │ 3 #> b a b │ c #> #> Column names: 1, 1.1, 2, 3