check.centre | R Documentation |
The function controls that the provided cluster variable is a vector, with at least two levels. Indeed, it is not possible to apply the Time-Dependent Shared Frailty Cox Model with no clusters.
check.centre(centre)
centre |
Numerical vector of length equal to the number of individuals in the study, containing the individual grouo/cluster membership. |
An error if any condition is not satisfied.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.