mts.plot | R Documentation |
Plot multiple time series in one frame and return standardized time series.
mts.plot(x, title = "mts plot", scaling = TRUE, xtime = NULL)
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, ... |
standardized - Matrix containing the standardized time series.
data(TaiwanAirBox032017) output <- mts.plot(TaiwanAirBox032017[,1:5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.