Skip to content

svyweight

0.1.1

Quick and Flexible Survey Weighting

0packages depend
3.3Kdownloads / year
86.5%test coverage
13/13checks pass

Overview

About
Maintained by Ben MainwaringFirst published 2022-05-032 releasesCRAN page ↗

Quickly and flexibly calculates weights for survey data, in order to correct for survey non-response or other sampling issues. Uses rake weighting, a common technique also know as rim weighting or iterative proportional fitting. This technique allows for weighting on multiple variables, even when the interlocked distribution of the two variables is not known. Interacts with Thomas Lumley's 'survey' package, as described in Lumley, Thomas (2011, ISBN:978-1-118-21093-2). Adds additional functionality, more adaptable syntax, and error-checking to the base weighting functionality in 'survey.'

Install

Health

CRAN checks
13OK
Slowest check: 2.0 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.04
86.5%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-05
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-10
    0 OK · 5 NOTE · 0 WARNING · 9 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 206 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
93%
Return-value docs
100%
References docs
29%

Downloads

3.3K
CRAN downloads in the past year
Rank #8,843 · ~9/day · ~271/mo
Daily download trend is not available in this view yet.
23030 days
1K90 days
3.3K1 year
Compare downloads with other packages →
Also on107 r2u19 autocran

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.00
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.1Latest
    2026-03-30 · current release · diff ↗
  • 0.1.0
    2026-03-10
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2022-05-03
Total releases
2 / 4 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.00
Bundled data
14 KB / 1 file
Download size
56 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("svyweight")
Mainwaring, B. (2026). svyweight: Quick and Flexible Survey Weighting (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.svyweight

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for svyweight version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-08-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy