format_algorithm {report} | R Documentation |
Convenient formatting of text components
Description
Convenient formatting of text components
Usage
format_algorithm(x)
format_formula(x, what = "conditional")
format_model(x)
Arguments
x |
The R object that you want to report (see list of of supported objects above). |
what |
The name of the item returned by |
Value
A character string.
A character string.
A character string.
Examples
model <- lm(Sepal.Length ~ Species, data = iris)
format_algorithm(model)
# Mixed models
library(lme4)
model <- lme4::lmer(Sepal.Length ~ Sepal.Width + (1 | Species), data = iris)
format_algorithm(model)
model <- lm(Sepal.Length ~ Species, data = iris)
format_formula(model)
# Mixed models
library(lme4)
model <- lme4::lmer(Sepal.Length ~ Sepal.Width + (1 | Species), data = iris)
format_formula(model)
format_formula(model, "random")
model <- lm(Sepal.Length ~ Species, data = iris)
format_model(model)
# Mixed models
library(lme4)
model <- lme4::lmer(Sepal.Length ~ Sepal.Width + (1 | Species), data = iris)
format_model(model)
[Package report version 0.5.9 Index]