"PosteriorProbabilities""ArtCohort"
"["(x, i, j, ..., drop = TRUE)
"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", ...)
"head"(x, ...)
"tail"(x, ...)"data.frame"states"character": names of statestimes"numeric": time points at which probabilities are evaluatedprobabilities"matrix": posterior Probabilities to be in each state at each timelower"matrix": lower prediction bound to be in each state at each timeupper"matrix": upper prediction bound to be in each state at each timetype"character": describes type of probabilitysimulateCohort.transitionProbabilities,
cumulativeIncidence, ArtCohort
showClass("PosteriorProbabilities")
Run the code above in your browser using DataLab