View source: R/tabularise.lm.R
tabularise_glance.lm | R Documentation |
Create a rich-formatted table with the 'glance' information from an lm object.
## S3 method for class 'lm'
tabularise_glance(
data,
header = TRUE,
title = NULL,
equation = TRUE,
auto.labs = TRUE,
origdata = NULL,
labs = NULL,
lang = getOption("data.io_lang", "en"),
...,
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 |
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 lazyeval expressions (unused for now). |
A flextable object that you can print in different form or rearrange with the {flextable} functions.
iris_lm <- lm(data = iris, Petal.Length ~ Sepal.Length)
tabularise::tabularise$glance(iris_lm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.