View source: R/hybrid_easystats.R
glance_performance | R Documentation |
{broom}
and {easystats}
Computes indices of model performance for regression models.
glance_performance(x, ...)
x |
model or other R object to convert to single-row data frame |
... |
other arguments passed to methods |
The function will attempt to get these details either using
broom::glance()
or performance::model_performance()
. If both function
provide model performance measure summaries, the function will try to
combine them into a single dataframe. Measures for which these two packages
have different naming conventions, both will be retained.
A data frame (with one row) and one column per "index".
set.seed(123) mod <- lm(mpg ~ wt + cyl, data = mtcars) broomExtra::glance_performance(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.