plot.cents: Plot method for "cents" object

Description Usage Arguments Value See Also Examples

View source: R/plot.cents.R

Description

a suitable time series plot

Usage

1
2
## S3 method for class 'cents'
plot(x, y, xlab = "t", ylab = expression(y[t]), marko = TRUE, ...)

Arguments

x

cents object

y

is ignored

xlab

x-axis label

ylab

yaxis label

marko

mark each observation

...

options

Value

plot produced

See Also

rcarma, summary

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#Default example
out <- rcarma()
plot(out)
#
#Example: Interval censoring and multiple censor points.
#double left-censoring
#first 100, rate 10% and second 100, rate is 5%
#right censoring, 20%
n <- 200
rates <- matrix(c(rep(0.1, 100), rep(0.05, 100), rep(0.2, 200)), ncol=2)
out <- rcarma(n, ar=0.7, ma=0.4, mu=100, siga=15, rates=rates)
summary(out)
plot(out)

cents documentation built on May 1, 2019, 8:19 p.m.

Related to plot.cents in cents...