Learn R Programming

pgam (version 0.3.3)

f: Utility function

Description

Generate the partition of design matrix regarded to the seasonal factor in its argument. Used in the model formula.

Usage

f(factorvar)

Arguments

factorvar
variable with the seasonal levels

Value

  • List containing data matrix of dummy variables, level names and seasonal periods.

See Also

pgam, pgam.parser