sample_from {lsasim} | R Documentation |
Sample from population structure
Description
Generates a sample from a population structure
Usage
sample_from(N, n, labels = names(N), verbose = TRUE)
Arguments
N |
list containing the population sampling structure |
n |
numeric vector with the number of sampled observations (clusters or subjects) on each level |
labels |
character vector with the names of the questionnaire respondents on each level |
verbose |
if 'TRUE', prints output messages |
[Package lsasim version 2.1.5 Index]