frailtyprior: Frailty prior specification

frailtypriorR Documentation

Frailty prior specification

Description

This function allows one to add a frailty term to the linear predictor of semiparametric PH, PO and AFT models.

Usage

frailtyprior(prior="car", ...)

Arguments

prior

a name string to be entered, e.g, "car", "iid", or "grf"; see the example in frailtyGAFT and survregbayes2.

...

Cluster ID to be entered for clustered data or locations for point-referenced data; see the example in frailtyGAFT and survregbayes2.

Author(s)

Haiming Zhou and Timothy Hanson


spBayesSurv documentation built on May 31, 2023, 8:17 p.m.