Learn R Programming

NMAR (version 0.1.2)

el_extract_strata_factor: Extract strata factor

Description

Looks for strata already materialized in the survey.design object. When unavailable, attempts to reconstruct strata from the original svydesign() call. When multiple stratification variables are supplied, their interaction is used.

Usage

el_extract_strata_factor(design)

Arguments