Learn R Programming

report (version 0.1.0)

format_model: Model Name Formatting

Description

Model Name Formatting

Usage

format_model(model)

Arguments

model

A statistical model.

Value

A formatted character vector.

Examples

Run this code
# NOT RUN {
model <- lm(Sepal.Length ~ Species, data = iris)
format_model(model)

if (require("lme4")) {
  model <- lme4::lmer(Sepal.Length ~ Sepal.Width + (1 | Species), data = iris)
  format_model(model)
}
# }

Run the code above in your browser using DataLab