Learn R Programming

spBayesSurv (version 1.0.4)

frailtyprior: 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", "kriging" 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.

References

Zhou, H. and Hanson, T. (2016). Bayesian semiparametric models for spatially correlated arbitrarily censored data. In preparation.