label_respondents {lsasim} | R Documentation |
Label respondents
Description
This function nerated level label combinations for each respondent
Usage
label_respondents(
n_obs,
cluster_labels = names(n_obs),
add_last_level = FALSE,
apply_labels = TRUE
)
Arguments
n_obs |
list with the number of elements per level |
cluster_labels |
character vector with the names of each cluster level |
add_last_level |
if 'TRUE' (not default), adds the last level to the output table |
apply_labels |
if 'TRUE', applies labels (column names) to data cells |
Value
Data frame with the combinations of IDs from all levels
[Package lsasim version 2.1.5 Index]