linear {amba} | R Documentation |
linear terms
Description
Create linear terms. These are relatively complex, and in general it is better to use a categorical or polynomial term instead. For more information on linear terms, refer to linear.design, linear.ESTIMATOR, linear.estimate and linear.matrix. Note these differ substantially from convention. A linear term usually contains a single variable, however may contain multiple parameter estimates. The current implementation does not store the linear matrix, and uses what are described as key functions to map real-world variables to model-variables (i.e. the linear matrix) used for estimation. The linear subclasses take care of key function specification.
Usage
linear (x, y=NULL, key=c ("1", "x"), valid.intercept=ifst (y), s)
## S3 method for class 'linear':
fitted(t, ...)
is.linear (t)
is.categorical (t)
is.polynomial (t)
Arguments
x |
|
y |
|
t |
|
key |
|
valid.intercept |
|
s |
|
... |
|
[Package
amba version 0.2.0
Index]