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