Description Usage Arguments Slots Objects from the Class Author(s) See Also Examples
This S4 class summarizes the posterior probabilities over time for objects
of class "ArtCohort"
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## S4 method for signature 'PosteriorProbabilities,ANY,ANY,ANY'
x[i, j, ..., drop = TRUE]
## S4 method for signature '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", ...)
## S4 method for signature 'PosteriorProbabilities'
head(x, ...)
## S4 method for signature 'PosteriorProbabilities'
tail(x, ...)
|
x |
the PosteriorProbabilities object |
i, j, drop |
same as for a |
... |
arguments passed on to main method |
ci |
should confidence intervals be displayed |
main, xlab, ylab |
same as any plot |
states |
which states to display |
lwd, col, lty |
vectors of lentht 2, with first component for the point estimate and second component for the confidence interval |
statesObject of class "character": names of states
timesObject of class "numeric": time points at which probabilities are evaluated
probabilitiesObject of class "matrix": posterior Probabilities to be in each state at each time
lowerObject of class "matrix": lower prediction bound to be in each state at each time
upperObject of class "matrix": upper prediction bound to be in each state at each time
typeObject of class "character": describes type of probability
Objects are created by calls to the
function simulateCohort.
Luisa Salazar Vizcaya, Nello Blaser, Thomas Gsponer
transitionProbabilities,
cumulativeIncidence, ArtCohort
1 | showClass("PosteriorProbabilities")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.