inputNames {kergp} | R Documentation |
Generic Function: Names of the Inputs of a Covariance Kernel
Description
Generic function returning or setting the names of the inputs attached with a covariance kernel.
Usage
inputNames(object, ...)
## S4 replacement method for signature 'covAll'
inputNames(object, ...) <- value
Arguments
object |
A covariance kernel object. |
value |
A suitable character vector. |
... |
Other arguments for methods. |
Value
A character vector with distinct input names that are used e.g. in prediction.
Note
The input names are usually checked to control that they match the
colnames of a spatial design matrix. They play an important role since
in general the inputs are found among other columns of a data frame,
and their order is not fixed. For instance in a data frame used as
newdata
formal in the predict
method, the inputs are
generally found at positions which differ from those in the data frame
used at the creation of the object.
See Also
[Package kergp version 0.5.7 Index]