Learn R Programming

broomExtra (version 4.3.2)

glance: 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

Run this code
# NOT RUN {
set.seed(123)
lm.mod <- lm(Sepal.Length ~ Species, iris)
broomExtra::glance(lm.mod)
# }

Run the code above in your browser using DataLab