makepredictcall: Utility Function for Safe Prediction

makepredictcall.trendsR Documentation

Utility Function for Safe Prediction

Description

Creates the right matrices for model.frame.default when predicting from models with trends terms. Used only internally.

Usage

## S3 method for class 'trends'
makepredictcall(var, call)

Arguments

var

a variable.

call

the term in the formula, as a call.

Value

A replacement for call for the prediction variable.


USGS-R/smwrStats documentation built on Oct. 11, 2022, 6:15 a.m.