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.
Usage
survey_base(
data = data.frame(),
metadata = survey_metadata(),
variables = list(),
groups = character(0),
call = NULL
)Value
Cannot be instantiated directly. See survey_taylor, survey_replicate, survey_twophase, or survey_nonprob for concrete subclasses.
Properties
dataA
data.framecontaining 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(). Alwayscharacter(0)in standalone surveycore use.callThe language object capturing the construction call, or
NULL.
