get_data: Get the data included in a TSMP object, if any.

Description Usage Arguments Value Examples

View source: R/misc.R

Description

Get the data included in a TSMP object, if any.

Usage

1
get_data(.mp)

Arguments

.mp

a TSMP object.

Value

Returns the data as matrix. If there is more than one series, returns a list.

Examples

1
2
mp <- tsmp(mp_toy_data$data[1:200, 1], window_size = 30, verbose = 0)
get_data(mp)

franzbischoff/tsmp documentation built on March 9, 2020, 6:01 a.m.