GetALLSurvPEH: Computes the posterior distribution of survival probabilities...

View source: R/GetALLSurvPEH.R

GetALLSurvPEHR Documentation

Computes the posterior distribution of survival probabilities for a vector x for the Piecewise Exponential Hazard model (PEH)

Description

Computes the posterior distribution of survival probabilities for a vector x for the Piecewise Exponential Hazard model (PEH)

Usage

GetALLSurvPEH(x, G1)

Arguments

x

Vector of times to compute the posterior mean survival probability.

G1

List of posterior samples from the BayesPiecewiseLinearHazard function.

Value

Matrix containing the posterior distribution of survival probabilities S(x)


BayesReversePLLH documentation built on Oct. 20, 2022, 5:05 p.m.