View source: R/mermboost_functions.R
find_ccc | R Documentation |
This function gives out logical indicators whether a variable is cluster-constant.
find_ccc(df, id_char)
df |
some data frame |
id_char |
a character which is the column name for the cluster identifier. |
For uncorrected boosting of a mixed model the estimates for cluster constant covariates might be biased as part of their effect is held in the random effects. This bias is corrected by the underlying mermboost package.
Gives a logical vector that indicates which variables of the dataframe have the same realisation for all observations of one cluster/individual.
glmermboost
and mermboost
data(Orthodont)
find_ccc(Orthodont, "Subject")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.