psa.plot: Graphical depiction of the probabilistic sensitivity analysis...

Description Usage Arguments Author(s) Examples

View source: R/psa.plot.R

Description

Plots the survival curves for all the PSA simulations

Usage

1

Arguments

psa

the result of the call to the function make.surv

...

Optional graphical parameters, such as: xlab = label for the x-axis ylab = label for the y-axis col = (vector) of colors for the lines to be plotted alpha = the level of transparency for the curves (default = 0.1)

Author(s)

Gianluca Baio

Examples

1
2
3
4
5
6
7
data(bc)

# Fits the same model using the 3 inference methods
mle = fit.models(formula=Surv(recyrs,censrec)~group,data=bc,
    distr="exp",method="mle")
p.mle = make.surv(mle,nsim=100)
psa.plot(p.mle)

giabaio/survHE documentation built on Dec. 2, 2017, 10:10 a.m.