addInteractions: addInteractions: Add intercepts, interaction, and polynomial...

Description Usage Arguments Details Value Examples

View source: R/Data_Prep_Functions.R

Description

addInteractions Add intercepts, interaction, and polynomial terms to dataframe

Usage

1

Arguments

data

Dataframe of covariates to model or predict daily stream temperature

Details

By making this a function it can easily get added to multiple places in the data prep for validation, fitting, or predicting. Then there is only one place where the interactions have to be specified

Value

Original dataframe plus the additional terms

Examples

1
2
3
4
## Not run: 
tempDataSyncS <- addInteractions(tempDataSyncS)

## End(Not run)

Conte-Ecology/conteStreamTemperature documentation built on Oct. 12, 2021, 10:26 p.m.