Learn R Programming

CoSMoS (version 2.2.0)

quickTSPlot: Quick visualisation of basic time series properties

Description

Returns a composite figure showing the time series, empirical density function, and empirical autocorrelation function.

Usage

quickTSPlot(TS, ci = 0.95)

Value

a ggdraw object (printed as a side effect)

Arguments

TS

numeric vector (or data.frame/data.table) of time series values

ci

numeric; confidence level for the zero-autocorrelation band (default 0.95)

See Also

generateTS, plot.cosmosts

Examples

Run this code
ggamma_sim <- rggamma(n = 1000, scale = 1, shape1 = 1, shape2 = .5)
quickTSPlot(ggamma_sim)

Run the code above in your browser using DataLab