hat {xnet} | R Documentation |
Return the hat matrix of a tskrr model
Description
This function returns the hat matrix or hat matrices of
a tskrr model. xnet
creates an S4 generic for hat
and links the default method to the hat
function
of stats
Usage
hat(x, ...)
## S4 method for signature 'tskrrHeterogeneous'
hat(x, which = c("row", "column"))
## S4 method for signature 'tskrrHomogeneous'
hat(x, ...)
Arguments
x |
a tskrr model |
... |
arguments passed to other methods. |
which |
a character value with possible values "row" or "column" to indicate which should be returned. For homogeneous models, this parameter is ignored. |
Value
the requested hat matrix of the model.
[Package xnet version 0.1.11 Index]