tab_anova: Print a fitted model as HTML ANOVA table

View source: R/sjPlot.R

tab_anovaR Documentation

Print a fitted model as HTML ANOVA table

Description

Print a fitted model as HTML ANOVA table

Usage

tab_anova(
  mdl,
  title = NULL,
  pred.labels = NULL,
  full_width = NULL,
  digits = getOption("digits"),
  scientific = FALSE,
  ...
)

Arguments

mdl

a model returned by a model fitting function (e.g., lm or glm)

title

character, will be used as table caption.

pred.labels

character vector with labels of predictor variables

full_width

logical controlling whether the html table should have 100 percent width

digits

amount of decimals for numbers

scientific

logical specifying whether to encode numbers in scientific

...

additional arguments passed to other methods format

Value

a character vector of the table source code

See Also

tab_model, anova, format, kbl, kable_classic

Examples

m <- lm(mpg ~ cyl, mtcars)
tab_anova(m)


the-mad-statter/washu documentation built on May 5, 2024, 10:26 a.m.