This function allows one to add a frailty term to the linear predictor of semiparametric PH, PO and AFT models.
frailtyprior(prior="car", ...)
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
.
Zhou, H. and Hanson, T. (2017). A unified framework for fitting Bayesian semiparametric models to arbitrarily censored spatial survival data. arXiv preprint arXiv:1701.06976.