Learn R Programming

mlmts (version 1.1.2)

mts_plot: Constructs a plot of a MTS

Description

mts_plot constructs a plot of a MTS. Each univariate series comprising the MTS object is displayed in a different colour.

Usage

mts_plot(series, title = "")

Value

The corresponding plot.

Arguments

series

A MTS (numerical matrix).

title

Title for the plot (string). Default corresponds to no title.

Author

Ángel López-Oriona, José A. Vilar

Details

Given a MTS, the function constructs the corresponding plot, in which a different colour is used for each univariate series comprising the MTS object. Therefore, the MTS is represented as a collection of univariate series in a single graph.

Examples

Run this code
mts_plot(BasicMotions$data[[1]]) # Represents the first MTS in dataset
# BasicMotions

Run the code above in your browser using DataLab