sample_from: Sample from population structure

sample_fromR 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


lsasim documentation built on Aug. 22, 2023, 5:09 p.m.