glance: Retrieve model summary dataframe if it exists.

View source: R/generics.R

glanceR Documentation

Retrieve model summary dataframe if it exists.

Description

Checks if a glance method exits for a given object, either in {broom} or in {broom.mixed}. If it does, return the model summary dataframe, if not, return a NULL. In this case, you can try the glance_performance() function.

Usage

glance(x, ...)

Arguments

x

model or other R object to convert to single-row data frame

...

other arguments passed to methods

See Also

grouped_glance, glance_performance

Examples

set.seed(123)
lm.mod <- lm(Sepal.Length ~ Species, iris)
broomExtra::glance(lm.mod)

broomExtra documentation built on April 2, 2022, 5:05 p.m.