PostMeanSurvPEH {BayesReversePLLH} | R Documentation |
Computes the posterior mean survival probabilities for a vector x for the Piecewise Exponential Hazard model (PEH)
PostMeanSurvPEH(x, G1)
x |
Vector of times to compute the posterior mean survival probability. |
G1 |
List of posterior samples from the BayesPiecewiseLinearHazard function. |
Vector containing the posterior mean survival probabilities S(x)