Skip to content

survey

4.5

Analysis of Complex Survey Samples

192packages depend
1.1Mdownloads / year
40.7%test coverage
13/13checks pass

Overview

About
Maintained by "Thomas Lumley"First published 2003-01-23112 releasesCRAN page ↗

Summary statistics, two-sample tests, rank tests, generalised linear models, cumulative link models, Cox models, loglinear models, and general maximum pseudolikelihood estimation for multistage stratified, cluster-sampled, unequally weighted survey samples. Variances by Taylor series linearisation or replicate weights. Post-stratification, calibration, and raking. Two-phase and multiphase subsampling designs. Graphics. PPS sampling without replacement. Small-area estimation. Dual-frame designs.

Install

Health

CRAN checks
13OK
Slowest check: 12.0 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.37
40.7%
Coverage · measured lines
100%
Documentation · exports
12
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-07-24
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-23
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-30
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
99%
Documented parameters
92%
Return-value docs
97%
References docs
48%

Downloads

1.1M
CRAN downloads in the past year
Rank #373 · ~3.1K/day · ~93.1K/mo
Daily download trend is not available in this view yet.
74.1K30 days
255.9K90 days
1.1M1 year
Compare downloads with other packages →
Also on11.8K r2u210 autocran11.3K conda_forge238 bioconda572 c2d4u

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (5)
R >= 4.1.0gridmethodsMatrixsurvival
Imports (8)
statsgraphicssplineslatticeminqanumDerivmitoolsRcpp
LinkingTo (2)
Suggests (14)
Enhances (0)
none

Code & Tests

Datasets

People & History

People (4)
Maintainer (1)
Maintainer
Authors (3)
Author · added in 4.4-1
Author · added in 4.5
Author · added in 4.4-2
Listed in earlier versions (2)
no longer listed · 0.9-1 to 4.4-8
no longer listed · 4.4-8 to 4.5
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 4.5Latest
    2026-02-24 · current release · diff ↗
  • 4.4-8
    2025-08-28 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 4.4-2
    2024-03-20 · diff ↗
  • 4.4-1
    2024-03-08 · diff ↗
  • 4.2-1
    2023-05-03 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 4.1-1
    2021-07-19 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 4.0
    2020-04-03 · diff ↗
  • 3.37
    2020-01-21 · diff ↗
  • 3.36
    2019-04-27 · diff ↗
Show 130 earlier events
  • R
    R 3.6.0 released · 2019-04-26
  • 3.35-1
    2019-01-29 · diff ↗
  • 3.35
    2018-12-18 · diff ↗
  • 3.34
    2018-10-12 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 3.33-2
    2018-03-13 · diff ↗
  • 3.33
    2018-01-23 · diff ↗
  • 3.32-1
    2017-06-23 · diff ↗
  • 3.32
    2017-06-07 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 3.31-5
    2016-12-01 · diff ↗
  • 3.31-2
    2016-09-23 · diff ↗
  • 3.31
    2016-08-05 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 3.30-3
    2014-08-15 · diff ↗
  • 3.30-2
    2014-08-14 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 3.29-5
    2013-06-12 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 3.29-4
    2013-03-11 · diff ↗
  • 3.29
    2012-09-26 · diff ↗
  • 3.28-2
    2012-07-03 · diff ↗
  • 3.28-1
    2012-05-24 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 3.28
    2012-02-03 · diff ↗
  • 3.27
    2012-01-06 · diff ↗
  • 3.26-1
    2011-11-15 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 3.26
    2011-10-14 · diff ↗
  • 3.25
    2011-08-05 · diff ↗
  • 3.24
    2011-04-15 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • 3.23-3
    2011-03-28 · diff ↗
  • 3.23-2
    2011-03-14 · diff ↗
  • 3.23-1
    2011-03-03 · diff ↗
  • 3.23
    2011-02-28 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • 3.22-4
    2010-10-13 · diff ↗
  • 3.22-3
    2010-08-08 · diff ↗
  • 3.22-2
    2010-05-05 · diff ↗
  • R
    R 2.11.0 released · 2010-04-22
  • 3.22-1
    2010-04-16 · diff ↗
  • 3.22
    2010-04-02 · diff ↗
  • 3.21-2
    2010-03-19 · diff ↗
  • 3.21-1
    2010-03-16 · diff ↗
  • 3.21
    2010-03-10 · diff ↗
  • 3.20
    2010-02-09 · diff ↗
  • 3.19
    2010-01-20 · diff ↗
  • R
    R 2.10.0 released · 2009-10-26
  • 3.18
    2009-09-22 · diff ↗
  • 3.17
    2009-09-18 · diff ↗
  • 3.16
    2009-06-02 · diff ↗
  • 3.15
    2009-05-18 · diff ↗
  • R
    R 2.9.0 released · 2009-04-17
  • 3.14
    2009-04-15 · diff ↗
  • 3.13
    2009-03-27 · diff ↗
  • 3.12
    2009-03-22 · diff ↗
  • 3.11-2
    2009-02-24 · diff ↗
  • 3.11-1
    2009-02-08 · diff ↗
  • 3.11
    2009-02-03 · diff ↗
  • 3.10-1
    2009-01-08 · diff ↗
  • 3.10
    2008-10-28 · diff ↗
  • R
    R 2.8.0 released · 2008-10-20
  • 3.9-1
    2008-09-11 · diff ↗
  • 3.9
    2008-09-09 · diff ↗
  • 3.8-1
    2008-08-22 · diff ↗
  • 3.8
    2008-08-09 · diff ↗
  • 3.7
    2008-07-28 · diff ↗
  • R
    R 2.7.0 released · 2008-04-22
  • 3.6-13
    2007-10-30 · diff ↗
  • R
    R 2.6.0 released · 2007-10-03
  • 3.6-12
    2007-09-25 · diff ↗
  • 3.6-11
    2007-07-09 · diff ↗
  • R
    R 2.5.0 released · 2007-04-24
  • 3.6-10
    2007-04-20 · diff ↗
  • 3.6-9
    2007-02-28 · diff ↗
  • 3.6-8
    2007-01-21 · diff ↗
  • 3.6-6
    2006-12-20 · diff ↗
  • 3.6-5
    2006-10-19 · diff ↗
  • 3.6-4
    2006-10-04 · diff ↗
  • R
    R 2.4.0 released · 2006-10-03
  • 3.6-3
    2006-09-29 · diff ↗
  • 3.6-2
    2006-08-05 · diff ↗
  • 3.6-1
    2006-07-13 · diff ↗
  • 3.6
    2006-06-28 · diff ↗
  • 3.5
    2006-05-16 · diff ↗
  • R
    R 2.3.0 released · 2006-04-24
  • 3.4-4
    2006-04-07 · diff ↗
  • 3.4-3
    2006-03-17 · diff ↗
  • 3.4-2
    2006-02-21 · diff ↗
  • 3.4-1
    2006-01-01 · diff ↗
  • 3.4
    2005-12-11 · diff ↗
  • 3.3-2
    2005-11-15 · diff ↗
  • 3.3-1
    2005-10-11 · diff ↗
  • R
    R 2.2.0 released · 2005-10-06
  • 3.3
    2005-09-10 · diff ↗
  • 3.2-1
    2005-08-25 · diff ↗
  • 3.2
    2005-07-18 · diff ↗
  • 3.1
    2005-06-14 · diff ↗
  • 3.0-1
    2005-05-25 · diff ↗
  • 3.0
    2005-05-09 · diff ↗
  • R
    R 2.1.0 released · 2005-04-18
  • 2.9-1
    2005-04-06 · diff ↗
  • 2.9
    2005-02-25 · diff ↗
  • 2.8-3
    2004-11-23 · diff ↗
  • 2.8-1
    2004-11-07 · diff ↗
  • R
    R 2.0.0 released · 2004-10-04
  • 2.8
    2004-09-25 · diff ↗
  • 2.6-2
    2004-08-12 · diff ↗
  • 2.6
    2004-07-08 · diff ↗
  • 2.5
    2004-06-02 · diff ↗
  • 2.4
    2004-05-19 · diff ↗
  • 2.3-2
    2004-05-13 · diff ↗
  • 2.3
    2004-04-22 · diff ↗
  • R
    R 1.9.0 released · 2004-04-12
  • R
    R 1.8.0 released · 2003-10-08
  • 2.0
    2003-08-21 · diff ↗
  • 1.9-2
    2003-08-15 · diff ↗
  • 1.9
    2003-07-26 · diff ↗
  • 1.4
    2003-05-25 · diff ↗
  • R
    R 1.7.0 released · 2003-04-16
  • 1.3
    2003-04-04 · diff ↗
  • 1.2
    2003-03-06 · diff ↗
  • 1.1
    2003-02-24 · diff ↗
  • 1.0
    2003-02-04 · diff ↗
  • 0.9-4
    2003-01-31 · diff ↗
  • 0.9-3
    2003-01-29 · diff ↗
  • 0.9-1
    2003-01-23
  • R
    R 1.6.0 released · 2002-10-01

Package metadata

First published
2003-01-23
Total releases
112 / 23 yrs
License
GPL-2 | GPL-3 OSI
Minimum R
≥ 4.1.0
Bundled data
408 KB / 12 files
Download size
2.3 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("survey")
Lumley", "., Gao, P., Kolenkikov, S., & Schneider, B. (2026). survey: Analysis of Complex Survey Samples (Version 4.5) [Computer software]. https://doi.org/10.32614/CRAN.package.survey

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 survey version 4.5 [Data set]. HJJB, LLC. Data release v2026-08-11. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-11, 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