PostMeanSurvPLLH: Computes the posterior mean survival probabilities for a...

View source: R/PostMeanSurvPLLH.R

PostMeanSurvPLLHR Documentation

Computes the posterior mean survival probabilities for a vector x for the Piecewise Linear Log Hazard model (PLLH)

Description

Computes the posterior mean survival probabilities for a vector x for the Piecewise Linear Log Hazard model (PLLH)

Usage

PostMeanSurvPLLH(x, G1)

Arguments

x

Vector of times to compute the posterior mean survival probability.

G1

List of posterior samples from the BayesPiecewiseLinearLogHazard function.

Value

Vector containing the posterior mean survival probabilities S(x)


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