plot-PosteriorProbabilities-method: plot

Description Usage Arguments

Description

Plots S4 objects

Usage

1
2
3
4
5
## 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", ...)

Arguments

x

a cohort simulated by simulateCohort.

ci

a binary variable, cumulative incidence

main

same as in any plot

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

xlab

same as in any plot

ylab

same as in any plot

...

arguments passed on to main method


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