Description Usage Arguments Value See Also Examples
a suitable time series plot
1 2 | ## S3 method for class 'cents'
plot(x, y, xlab = "t", ylab = expression(y[t]), marko = TRUE, ...)
|
x |
cents object |
y |
is ignored |
xlab |
x-axis label |
ylab |
yaxis label |
marko |
mark each observation |
... |
options |
plot produced
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.