Learn R Programming

gmvjoint (version 0.4.0)

plot.dynPred: Plot conditional survival probabilities.

Description

Produces a simple plot of the probability the subject survives given failure times along with the 95% confidence interval if probabilities are generated from a simulation scheme, and simply the first-order estimate otherwise.

Usage

# S3 method for dynPred
plot(x, what = c("median", "mean"), ...)

Arguments

x

an object with class dynPred.

what

should the "median" (the default) or "mean" probability be displayed? if first-order predictions are used, this is ignored.

...

additional arguments (none used).

Author

James Murray (j.murray7@ncl.ac.uk).

See Also

dynPred