Learn R Programming

tsmp (version 0.4.15)

get_data: 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)

Value

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

Arguments

.mp

a TSMP object.

Examples

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

Run the code above in your browser using DataLab