trending (version 0.0.2)

trending_model_fit_accessors: Accessors for trending_model_fit objects

Description

These functions can be used to access information stored in trending_model_fit objects. See details.

Usage

get_model(x, ...)

# S3 method for trending_model_fit get_model(x, ...)

get_data(x, ...)

# S3 method for trending_model_fit get_data(x, ...)

Arguments

x

Object of class trending_model (i.e. the output of functions lm_model(), glm_model(), glm_nb_model(), or brms_model()).

...

Not currently used

Details

The following accessors are available:

  • get_model(): get the fitted model stored in the object