All survey design objects (survey_taylor, survey_replicate,
survey_twophase, survey_nonprob) inherit from survey_base. This
class is abstract and cannot be instantiated directly — use
as_survey(), as_survey_replicate(), as_survey_twophase(), or
as_survey_nonprob() instead.
survey_base(
data = data.frame(),
metadata = survey_metadata(),
variables = list(),
groups = character(0),
call = NULL
)Cannot be instantiated directly. See survey_taylor, survey_replicate, survey_twophase, or survey_nonprob for concrete subclasses.
dataA data.frame containing the survey data.
metadataA survey_metadata object.
variablesA named list of design specification (varies by subclass).
groupsCharacter vector of active grouping variables.
Set by surveytidy's group_by(). Always character(0) in
standalone surveycore use.
callThe language object capturing the construction call,
or NULL.