weights,tskrrHeterogeneous-method {xnet}R Documentation

Extract weights from a tskrr model

Description

This function calculates the weight matrix for calculating the predictions of a tskrr model.

Usage

## S4 method for signature 'tskrrHeterogeneous'
weights(object)

## S4 method for signature 'tskrrHomogeneous'
weights(object)

Arguments

object

a tskrr object for which the weights have to be calculated.

Details

The weight matrix is calculated from the map matrices through the function eigen2map.

Value

a matrix with the weights for the tskrr model.

Note

The package xnet adds a S4 generic function for weights.


[Package xnet version 0.1.11 Index]