Skip to content

PracTools

1.7.6Package record

Designing and Weighting Survey Samples

0packages dependsuggested by 1
9Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Functions and datasets to support Valliant, Dever, and Kreuter (2018), doi:10.1007/978-3-319-93632-1, "Practical Tools for Designing and Weighting Survey Samples". Contains functions for sample size calculation for survey samples using stratified or clustered one-, two-, and three-stage sample designs, and single-stage audit sample designs. Functions are included that will group geographic units accounting for distances apart and measures of size. Other functions compute variance components for multistage designs, sample sizes in two-phase designs, and a stopping rule for ending data collection. A number of example data sets are included.

Changes in 1.7.6
  • pclass was revised to account for the possibility that the estimated propensities have no meaningful variation.

In that case a warning is printed and a single adjustment class is returned with a single estimated propensity and a warning is printed.

A parameter, rng.preds, was added to set a cutoff for determining when a single adjustment class is to be returned.

A seed parameter was added so that the same set of weights can be reproduced in different runs.(changes suggested by Juan Pablo Ferreira)

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • NOTE13 OK, 1 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.7.6
READMENoVignettesYes · 6 · dynamicNEWSYes · 67% structured · mentions 1.7.6Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
61
Examples that run
97%59 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
80%

Downloads

9K
CRAN downloads in the past year
Rank #4,601 · ~25/day · ~750/mo
Daily download trend is not available in this view yet.
81530 days
1.8K90 days
9K1 year
Compare downloads with other packages →
Also on173 r2u6 autocran202 c2d4u

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

Installing PracTools adds 37 packages (21 with compiled code, 41 MB of source tarballs). Heaviest: sf 9.3 MB, ggplot2 6.0 MB, usmapdata 5.4 MB.

Depends (1)
R >= 3.5.0
Imports (6)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

Datasets

People & History

People (4)
Author, Maintainer since 0.0-1 (2013)
Author · added in 1.3
Contributor
Contributor
Releases (32)

Pick two releases to compare their code metrics.

  • 1.7.6Latest
    record
    2026-09-16 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.7.5
    record
    2026-01-17 · diff ↗
  • 1.7
    record
    2025-09-29 · diff ↗
  • 1.6.1
    record
    2025-05-11 · diff ↗
  • 1.6
    record
    2025-04-25 · diff ↗ ·
    added 1 export
    SampStop
  • R
    R 4.5.0 released · 2025-04-11
  • 1.5
    record
    2024-06-24 · diff ↗ ·
    added 4 exports
    nEdge, nEdgeSRS, quad_roots, wtd.moments
  • R
    R 4.4.0 released · 2024-04-24
  • 1.4.3
    record
    2024-03-06 · diff ↗ ·
    added 2 exports
    nPPS, unitVar
  • unarchivedReturned to CRAN
    2023-12-05
  • 1.4.2
    record
    2023-12-05 · diff ↗
  • archivedRemoved from CRAN
    2023-11-23
    issues were not corrected in time
  • 1.4.1
    record
    2023-11-09 · diff ↗
  • 1.4
    record
    2023-05-23 · diff ↗ ·
    added 2 exports
    CompMOS, GeoMinMOS
  • R
    R 4.3.0 released · 2023-04-21
Show 33 earlier eventsHide 33 earlier events

Package metadata

First published
2013-02-04
Total releases
32 / 13 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Bundled data
1.9 MB / 13 files
Download size
2.5 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("PracTools")
Valliant, R., Dever, J. A., Kreuter, F., & Zipf, G. (2026). PracTools: Designing and Weighting Survey Samples (Version 1.7.6) [Computer software]. https://doi.org/10.32614/CRAN.package.PracTools

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 PracTools version 1.7.6 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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