hat: Return the hat matrix of a tskrr model

Description Usage Arguments Value

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

1
2
3
4
5
6
7
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.


CenterForStatistics-UGent/xnet documentation built on June 4, 2021, 4:52 p.m.