Learn R Programming

s20x (version 3.3.0)

removeTslmErrorTerms: Remove tslm error terms

Description

Remove supported error-structure terms from the formula used for the fitted mean model.

Usage

removeTslmErrorTerms(formula, termsObject)

Value

A formula containing only the mean-model terms.

Arguments

formula

a model formula supplied to [tslm()].

termsObject

a terms object created from `formula`.