View source: R/tabularise.glm.R
tabularise_default.summary.glm | R Documentation |
Create a rich-formatted table version of the summary()
of a glm object.
## S3 method for class 'summary.glm'
tabularise_default(
data,
footer = TRUE,
lang = getOption("data.io_lang", "en"),
...,
kind = "ft",
env = parent.frame()
)
data |
A summary.glm 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 that you can print in different form or rearrange with the {flextable} functions.
iris_glm <- glm(data = iris, Petal.Length ~ Sepal.Length)
iris_glm_sum <- summary(iris_glm)
tabularise::tabularise(iris_glm_sum)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.