sanxian | R Documentation |
Three-line table
sanxian(
df,
digits = 3,
nrow = 10,
ncol = 10,
fig = FALSE,
mode = 1,
background = "#D7261E",
...
)
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) |
a ggplot
if (require("kableExtra")) {
data(otutab)
sanxian(otutab)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.