Skip to contents

R documentation table

Usage

tabular(x)

Arguments

x

data.frame.

Value

Console output.

Note

Updated 2019-08-13.

See also

  • http://r-pkgs.had.co.nz/man.html

Examples

df <- data.frame(
    "aaa" = seq(from = 1L, to = 4L),
    "bbb" = seq(from = 2L, to = 5L),
    "ccc" = seq(from = 3L, to = 6L),
    row.names = c("AAA", "BBB", "CCC", "DDD")
)
tabular(df)
#> \tabular{rrr}{
#>   1 \tab 2 \tab 3\cr
#>   2 \tab 3 \tab 4\cr
#>   3 \tab 4 \tab 5\cr
#>   4 \tab 5 \tab 6
#> }