ParallelTSlinePlots: Plots many time series in parallel from a matrix of Data

View source: R/ParallelTSlinePlots.R

ParallelTSlinePlotsR Documentation

Plots many time series in parallel from a matrix of Data

Description

It is a shortcut wrapper for horizonplot in order to omit the manual creation of ts objects

Usage

ParallelTSlinePlots(Data, Time, DailyRegular = TRUE, scales = list(y = "same"), cols, ...)

Arguments

Data

[1:n,1:d] d mulitvariate timeseries of n cases

Time

Optional, only if time series are regular, if not please do not set

DailyRegular

Optional, If TRUE: Time series is regular with as.date objects, in other case its regular as defined by Time. Default is TRUE

scales

Optional, same is best variant. It is preferred to normalize data before using this function. Please see horizonplot for other options

cols

Optional, color scale as character vector. Default is HeatmapColors sequence

...

Optional arguments passed on to horizonplot

Details

If DailyRegular=FALSE, then the x axis will be in UNIX seconds since 1970-01-01.

Note

Beware in reference the authors talks about temporal structures using this visualization in Python. That is incorrect. For temporal structures please see [Moerchen, 2006].

Author(s)

Michael Thrun

References

Idea taken from https://machinelearningmastery.com/how-to-load-visualize-and-explore-a-complex-multivariate-multistep-time-series-forecasting-dataset/

[Moerchen, 2006] Moerchen, Fabian. Time series knowledge mining. Goerich & Weiershaeuser, 2006.

See Also

horizonplot

Examples

##ToDo

Mthrun/TSAT documentation built on Feb. 5, 2024, 11:15 p.m.