Description Usage Arguments Value Examples
Variables that are cluster-mean centered will be labeled with a "cwc" suffix (abbreviation for centered within cluster), the cluster means of level-1 variables will be labeled with a "means" suffix, and variables that are grand-mean centered will be labeled with a "cgm" suffix (abbreviation for centered grand mean).
1 | center_data(data, cluster)
|
data |
Data frame, matrix, or tibble containing the data to center. |
cluster |
Column label of |
An augmented database with variables indicating level-1 cluster means, cluster-mean centered level-1 variables, grand-mean centered level-1 variables, and grand-mean centered level-2 variables.
1 2 3 4 | ## Not run:
center_data(data = timss, cluster = "idteach")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.