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)

IndrajeetPatil/broomExtra documentation built on Oct. 12, 2022, 8:43 a.m.