View source: R/tabularise.lm.R
tabularise_default.summary.lm | R Documentation |
Create a rich-formatted table from an summary.lm object
## S3 method for class 'summary.lm'
tabularise_default(
data,
footer = TRUE,
lang = getOption("data.io_lang", "en"),
...,
kind = "ft",
env = parent.frame()
)
data |
A summary.lm object |
footer |
If |
lang |
The natural language to use. The default value can be set with,
e.g., |
... |
Additional arguments passed to |
kind |
The kind of table to produce: "tt" for tinytable, or "ft" for flextable (default). |
env |
The environment where to evaluate the model. |
A flextable object you can print in different formats (HTML, LaTeX, Word, PowerPoint) or rearrange with the {flextable} functions.
iris_lm <- lm(data = iris, Petal.Length ~ Sepal.Length)
iris_lm_sum <- summary(iris_lm)
tabularise::tabularise(iris_lm_sum)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.