table_lm | R Documentation |
Quick table of regression model output
table_lm(x, base_digits = 2, write = FALSE)
x |
A model with a |
base_digits |
Digits to approximate on the estimate. This also controls
digits printed for the S.E. and t-statistic columns. Defaults to |
write |
Whether to write to a temporary file and open it in Viewer.
Defaults to |
A tinytable
table
x <- lm(mpg ~ hp, mtcars)
table_lm(x) # `write = ".docx"` to also write out to a Word file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.