Learn R Programming

dsa (version 1.0.12)

multi_xts2ts: Change multiple xts to a multivariate ts

Description

Change multiple xts to a multivariate ts

Usage

multi_xts2ts(x, short = FALSE)

Arguments

x

xts time series

short

Is series too short for xts2ts to work?

Details

If the ts are used for forecasting

Examples

Run this code
# NOT RUN {
x <- dsa::daily_sim()$original
y <- dsa::daily_sim()$original
multi_xts2ts(merge(x,y))
# }

Run the code above in your browser using DataLab