evaluate.term {amba}R Documentation

evaluate terms

Description

Term estimates are based on the principle that they can be evaluated as functions of an explanatory variable, regardless of the type of term. To avoid confusion with the original explanatory values, denoted x, the new explanatory values are denoted u. Linear evaluation is trivial, smooth evaluation happens via interpolation.

Usage

## S3 method for class 'linear':
evaluate(t, u, ...)
## S3 method for class 'smooth':
evaluate(t, u, ...)

Arguments

t A term object.
u A vector (usually) of new explanatory values. For multivariate terms, namely linear interaction terms, u is matrix or data.frame.
...

[Package amba version 0.2.0 Index]