stepTable | R Documentation |
This function creates a summary table for a linear model, and outputs it to the viewer in HTML Format to facilitate copying and pasting by default. By default it outputs standardized betas for regression coefficients, and it can accept up to 8 models as arguments, which makes it ideal for displaying stepwise models.
stepTable(
...,
Betas = TRUE,
ModelStats = FALSE,
Output = c("viewer", "markdown"),
twoColumns = TRUE,
Stars = FALSE
)
... |
up to 8 linear models, produced by lm |
Betas |
whether standardized betas should be printed |
ModelStats |
whether r squared, etc. should be printed |
Output |
whether output should be displayed in the viewer, or formatted with "Kable" for markdown |
twoColumns |
if true, returns only coefficient and p value, otherwise returns standard error and t as well. |
Stars |
adds significance stars for the last model, if requested |
The regression table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.