View source: R/tabularise.lm.R
tabularise_tidy.lm | R Documentation |
Create a rich-formatted table with the 'tidy' information from an lm object.
## S3 method for class 'lm'
tabularise_tidy(
data,
header = TRUE,
title = NULL,
equation = header,
auto.labs = TRUE,
origdata = NULL,
labs = NULL,
conf.int = FALSE,
conf.level = 0.95,
lang = getOption("data.io_lang", "en"),
show.signif.stars = getOption("show.signif.stars", TRUE),
...,
kind = "ft",
env = parent.frame()
)
data |
An lm object |
header |
If |
title |
If |
equation |
If |
auto.labs |
If |
origdata |
The original data set this model was fitted to. By default it
is |
labs |
Labels to change the names of elements in the |
conf.int |
If |
conf.level |
The confidence level to use for the confidence interval if
|
lang |
The natural language to use. The default value can be set with,
e.g., |
show.signif.stars |
If |
... |
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 lazyeval expressions (unused for now). |
A flextable object that 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)
tabularise::tabularise$tidy(iris_lm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.