t.huxtable

0th

Percentile

Transpose a huxtable

Transpose a huxtable

Usage
# S3 method for huxtable
t(x)
Arguments
x

A huxtable.

Details

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.

Value

The transposed object.

Aliases
  • t.huxtable
Examples
# NOT RUN {
ht <- huxtable(a = 1:3, b = 1:3)
bottom_border(ht)[3,] <- 1
t(ht)

# }
Documentation reproduced from package huxtable, version 1.2.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.