sanxian {pcutils} | R Documentation |
Three-line table
Description
Three-line table
Usage
sanxian(
df,
digits = 3,
nrow = 10,
ncol = 10,
fig = FALSE,
mode = 1,
background = "#D7261E",
...
)
Arguments
df |
a data.frame |
digits |
how many digits should remain |
nrow |
show how many rows |
ncol |
show how many columns |
fig |
output as a figure |
mode |
1~2 |
background |
background color |
... |
additional arguments e.g.(rows=NULL) |
Value
a ggplot
Examples
if (require("kableExtra")) {
data(otutab)
sanxian(otutab)
}
[Package pcutils version 0.2.6 Index]