xkabledply | R Documentation |
Combining base::summary, xtable, and kableExtra, to easily display model summary. wrapper for the base::summary function on model objects Can also use as head/tail for nicer display ELo 202004 GWU DATS version 1.2.2
xkabledply(
modelsmmrytable,
title = "",
digits = 4,
pos = "left",
bso = "striped",
wide = FALSE
)
modelsmmrytable |
This can be a generic table, a model object such as lm(), or the summary of a model object summary(lm()) |
title |
Title of table. If modelsmmrytable has a "formula", it will be the default title |
digits |
Number of digits to display |
pos |
Position of table, c("left","center","right") |
bso |
bootstrap_options = c("basic", "striped", "bordered", "hover", "condensed", "responsive") |
wide |
print table in long (FALSE) format or wide (TRUE) format |
HTML table for display
xkabledply( df, title="Table testing", pos="left", bso="hover" )
xkabledply( ISLR::Hitters[1:5,] )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.