check.post_frailty_centre {TimeDepFrail}R Documentation

Check numerosity of posterior frailty estimates

Description

The function controls that a time-dependent posterior frailty estimate is computed for each centre

Usage

check.post_frailty_centre(post_frailty_est, centre_codes)

Arguments

post_frailty_est

An S3 class object containing the posterior frailty estimates \hat{\alpha}_j, \hat{\epsilon}_{jk}, \hat{Z}_{jk}, \forall j,k

centre_codes

Numerical vector of length equal to the number of distinct centres/clusters in the study

Value

An error if any condition is not satisfied.


[Package TimeDepFrail version 0.0.0.9 Index]