mod_effect: Tools for extrapolating effects from models

Description Usage Arguments Value

View source: R/extrapolate.R

Description

This function will extrapolate fixed effects for the future, assuming linear growth.

Usage

1
2
3
4
5
mod_effect(mod, col_name, ...)

filter_effect(mod, col_name, ...)

augment_future(mod, newdata, col_name, ...)

Arguments

mod

a model that has a tidy method

col_name

name to match the name of the effect

...

currently ignored

newdata

passed to predict

Value

an lm object


beanumber/mlbgm documentation built on Jan. 21, 2020, 8:33 p.m.