View source: R/format_formula.R
format_algorithm | R Documentation |
Convenient formatting of text components
format_algorithm(x)
format_formula(x, what = "conditional")
format_model(x)
x |
The R object that you want to report (see list of of supported objects above). |
what |
The name of the item returned by |
A character string.
A character string.
A character string.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.