ts_projection {daltoolbox}R Documentation

Time Series Projection

Description

Separates the ts_data into input and output.

Usage

ts_projection(ts)

Arguments

ts

matrix or data.frame containing the time series.

Value

a ts_projection object.

Examples

#setting up a ts_data
data(sin_data)
ts <- ts_data(sin_data$y, 10)

io <- ts_projection(ts)

#input data
ts_head(io$input)

#output data
ts_head(io$output)

[Package daltoolbox version 1.0.767 Index]