Usage
# S4 method for PosteriorProbabilities
plot(x, ci = FALSE, main = paste(x@type,
"after starting in State", x@states[1], "at time 0"),
states = 1:dim(x@probabilities)[2], lwd = c(2, 2), col = c("blue",
"green3"), lty = c(1, 2), xlab = "Time", ylab = "Probability", ...)
Arguments
x
a cohort simulated by simulateCohort
.
ci
a binary variable, cumulative incidence
states
names of states in the plot
lwd
vector of lentht 2, with first component
for the point estimate and second component
for the confidence interval
col
vector of lentht 2, with first component
for the point estimate and second component
for the confidence interval
lty
vector of lentht 2, with first component
for the point estimate and second component
for the confidence interval
...
arguments passed on to main method