mts.plot: Plot Multiple Time Series in One Frame

mts.plotR Documentation

Plot Multiple Time Series in One Frame

Description

Plot multiple time series in one frame and return standardized time series.

Usage

mts.plot(x, title = "mts plot", scaling = TRUE, xtime = NULL)

Arguments

x

T by k data matrix: T data points in rows with each row being data at a given time point, and k time series in columns.

title

Character with the title of the plot. Default title is "mts plot".

scaling

If scaling = TRUE (default), then each series is standardized based on its own range. If scaling = FALSE, then the original series is used.

xtime

A vector with the values for the x labels. Default values are 1, 2, 3, ...

Value

standardized - Matrix containing the standardized time series.

Examples

data(TaiwanAirBox032017)
output <- mts.plot(TaiwanAirBox032017[,1:5])

SLBDD documentation built on April 27, 2022, 5:08 p.m.

Related to mts.plot in SLBDD...