xkablevif | R Documentation |
Combining faraway::vif, xtable, and kableExtra, to easily display numeric summary of VIFs for a model. ELo 202004 GWU DATS version 1.3
xkablevif(
model,
title = "",
digits = 3,
pos = "left",
bso = "striped",
wide = TRUE
)
model |
The lm or compatible model object. |
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") |
wide |
print table in long (FALSE) format or wide (TRUE) format |
The HTML summary table of the VIFs for a model for display, or for knitr to process into other formats
xkablevif( lm(Salary~Hits+RBI, data=ISLR::Hitters), wide=T )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.