You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New features
get_effective_n() computes the effective sample size of a survey design
using the Kish (1965) weight approximation (method = "kish") or the full
design effect for a specified variable (method = "deff"). Supports all
design types and survey_collection.
CRAN preparation (0.8.3)
Resubmission addressing CRAN feedback on the 0.8.2 submission. Four
changes: (1) Added DOI references to the package Description
(Lumley 2004 for variance estimation; Mannan 2025 for weighted
polychoric/polyserial correlation). (2) Uncommented three as_survey() calls in the @examples blocks of anes_2024, gss_2024, and pew_npors_2025, so they now run during R CMD check. The ANES and GSS examples (and the corresponding
prose @details sketches) also gained nest = TRUE, which is
required by those designs and silences a previously-emitted
warning. (3) Replaced the \section{Tidy-select}\preformatted{}
code sketch in as_survey() with prose, and added two runnable
demonstrations to the @examples block. (4) Replaced globalenv()
with baseenv() as the formula environment in survey_glm() to
comply with CRAN policy on .GlobalEnv modification.