plot.cosmosts: Plot method for 'cosmosts' objects

View source: R/plot-methods.R

plot.cosmostsR Documentation

Plot method for cosmosts objects

Description

Visualises time series generated by generateTS as bar charts, one panel per series.

Usage

## S3 method for class 'cosmosts'
plot(x, ...)

Arguments

x

a cosmosts object returned by generateTS

...

currently unused

Value

a ggplot object (invisibly returned; also printed)

See Also

generateTS, regenerateTS

Examples


library(CoSMoS)

ts <- generateTS(margdist = "ggamma",
                 margarg  = list(scale = 1, shape1 = .8, shape2 = .8),
                 acsvalue = acs(id = "paretoII", t = 0:30,
                                scale = 1, shape = .75),
                 n = 1000, p = 30, TSn = 2)
plot(ts)


CoSMoS documentation built on May 8, 2026, 1:08 a.m.