xkablesummary | R Documentation |
Combining base::summary, xtable, and kableExtra, to easily display numeric variable summary of dataframes. ELo 202004 GWU DATS version 1.2
xkablesummary(
df,
title = "Table: Statistics summary.",
digits = 4,
pos = "left",
bso = "striped"
)
df |
The dataframe. |
title |
Title of table. |
digits |
Number of digits to display |
pos |
Position of table, c("left","center","right") |
bso |
bootstrap_options = c("basic", "striped", "bordered", "hover", "condensed", "responsive") |
The HTML summary table for display, or for knitr to process into other formats
xkablesummary( ISLR::Hitters, title="Five number summary", pos="left", bso="hover" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.