View source: R/GetALLSurvPEH.R
GetALLSurvPEH | R Documentation |
Computes the posterior distribution of survival probabilities for a vector x for the Piecewise Exponential Hazard model (PEH)
GetALLSurvPEH(x, G1)
x |
Vector of times to compute the posterior mean survival probability. |
G1 |
List of posterior samples from the BayesPiecewiseLinearHazard function. |
Matrix containing the posterior distribution of survival probabilities S(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.