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
hat(x, ...)# S4 method for tskrrHeterogeneous
hat(x, which = c("row", "column"))
# S4 method for tskrrHomogeneous
hat(x, ...)
a tskrr model
arguments passed to other methods.
a character value with possible values "row" or "column" to indicate which should be returned. For homogeneous models, this parameter is ignored.
the requested hat matrix of the model.