extractModel: Extract an individual model from a fitted term

View source: R/rterm.R

extractModelR Documentation

Extract an individual model from a fitted term

Description

Pulls on individual model fit out of a term object. For example if you fitted both "degreeday" and "changepoint" you can pull out just the change point model with extractModel(mod, "cp")

Usage

extractModel(term, name)

Arguments

term

the term object to extract from.

name

a regex matching the name of the model to extract

Value

the extracted model

See Also

newTerm addData addWeather addMethod evaluate


EcotopeResearch/rterm documentation built on Oct. 17, 2022, 4:02 p.m.