psa.plot | R Documentation |
Plots the survival curves for all the PSA simulations. The function is
actually deprecated - similar graphs can be obtained directly using
the plot
method (with options), which allows a finer depiction
of the results.
psa.plot(psa, ...)
psa |
the result of the call to the function |
... |
Optional graphical parameters, such as:
|
Gianluca Baio
G Baio (2019). survHE: Survival analysis for health economic evaluation and cost-effectiveness modelling. Journal of Statistical Software (2020). vol 95, 14, 1-47. doi:10.18637/jss.v095.i14
make.surv
, write.surv
## Not run:
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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.