PostMeanHazLogSlope: Computes the posterior mean hazard value for a vector x for...

View source: R/PostMeanHazLogSlope.R

PostMeanHazLogSlopeR Documentation

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

Description

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

Usage

PostMeanHazLogSlope(x, G1)

Arguments

x

Vector of times to compute the posterior mean hazard function

G1

List of posterior samples from the BayesPiecewiseLinearLogHazard function.

Value

Vector containing the posterior mean hazard values h(x)


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