fitted: extract the predictions

Description Usage Arguments Value Examples

Description

This functions extracts the fitted predictions from a tskrr object or an object inheriting from that class. The xnet package provides an S4 generic for the function fitted from the package stats, and a method for tskrr objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'tskrr'
fitted(object, labels = TRUE, ...)

## S3 method for class 'linearFilter'
fitted(object, ...)

## S4 method for signature 'tskrr'
fitted(object, labels = TRUE, ...)

## S4 method for signature 'linearFilter'
fitted(object, ...)

Arguments

object

an object for which the extraction of model fitted values is meaningful.

labels

a logical value indicating whether the labels should be shown. Defaults to TRUE

...

arguments passed to or from other methods.

Value

a numeric matrix with the predictions

Examples

1
2
3
4

xnet documentation built on Feb. 4, 2020, 9:10 a.m.