plot-method: Methods for Function Plot in Package sm4sd

Description Usage Arguments Examples

Description

Plot slots of RS class using "timeSeries" plot.

Usage

1
2
## S4 method for signature 'RS,missing'
plot(x, y, ...)

Arguments

x

An object of RS class.

y

Missing object.

...

Additional graphical arguments, see plot, plot.default and par.

Examples

1
2
3
4
5
6
7
8
n <- 50
# An example to create the RS class.
my_first_class <- RS(sigb = rnorm(n, mean = 0, sd = 1),
                     epsb = rnorm(n, mean = 0, sd = 2),
                     epsp = rnorm(n, mean = 1, sd = 1))

# plot the class as timeseries object
plot(my_first_class)

4301350/sm4sd documentation built on June 14, 2020, 4:22 p.m.