Skip to content

svyweight

Quick and Flexible Survey Weighting

v0.1.1 · Mar 29, 2026 · GPL-3

Description

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.'

Downloads

238

Last 30 days

18991st

606

Last 90 days

2.1K

Last year

Trend: +11.7% (30d vs prior 30d)

CRAN Check Status

1 NOTE
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (1 non-OK)
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^

Check History

NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 4, 2026
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^
ERROR 0 OK · 5 NOTE · 0 WARNING · 9 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-devel-linux-x86_64-debian-clang

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^
ERROR r-devel-linux-x86_64-debian-gcc

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^
ERROR r-devel-linux-x86_64-fedora-clang

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^
ERROR r-devel-linux-x86_64-fedora-gcc

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^
NOTE r-devel-macos-arm64

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^
ERROR r-devel-windows-x86_64

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^
ERROR r-patched-linux-x86_64

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^
ERROR r-release-linux-x86_64

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^
NOTE r-release-macos-arm64

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^
NOTE r-release-macos-x86_64

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^
ERROR r-release-windows-x86_64

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^
NOTE r-oldrel-macos-x86_64

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^
ERROR r-oldrel-windows-x86_64

Rd files

checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
    32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
       |                                                                                      ^

Dependency Network

Dependencies Reverse dependencies survey gdata svyweight

Version History

updated 0.1.1 ← 0.1.0 diff Mar 29, 2026
new 0.1.0 Mar 10, 2026