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

View source: R/misc.R

get_dataR Documentation

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

Description

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

Usage

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

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

tsmp documentation built on Aug. 21, 2022, 1:13 a.m.