augment: Retrieve augmented dataframe if it exists.

View source: R/generics.R

augmentR Documentation

Retrieve augmented dataframe if it exists.

Description

Checks if a augment 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.

Usage

augment(x, ...)

Arguments

x

Model object or other R object with information to append to observations.

...

Addition arguments to augment method.

Value

A tibble::tibble() with information about data points.

See Also

grouped_augment

Examples

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

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