Package: whSample 0.9.6.2

Paul West

whSample: Utilities for Sampling

Interactive tools for generating random samples. Users select an .xlsx, .csv, or delimited .txt file with population data and are walked through selecting the sample type (Simple Random Sample or Stratified), the number of backups desired, and a "stratify_on" value (if desired). The sample size is determined using a normal approximation to the hypergeometric distribution based on Nicholson (1956) <doi:10.1214/aoms/1177728270>. An .xlsx file is created with the sample and key metadata for reference. It is menu-driven and lets users pick an output directory. See vignettes for a detailed walk-through.

Authors:Paul West [aut, cre]

whSample_0.9.6.2.tar.gz
whSample_0.9.6.2.zip(r-4.7)whSample_0.9.6.2.zip(r-4.6)whSample_0.9.6.2.zip(r-4.5)
whSample_0.9.6.2.tgz(r-4.6-any)whSample_0.9.6.2.tgz(r-4.5-any)
whSample_0.9.6.2.tar.gz(r-4.7-any)whSample_0.9.6.2.tar.gz(r-4.6-any)
whSample_0.9.6.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
whSample/json (API)

# Install 'whSample' in R:
install.packages('whSample', repos = c('https://cranhaven.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cranhaven/cranhaven.r-universe.dev/issues

On CRAN:

Conda:

archivedpackagesr-universe

3.70 score 5 stars 154 downloads 2 exports 23 dependencies

Last updated from:f4484ab587 (on package/whSample). Checks:7 WARNING, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64WARNING148
source / vignettesOK214
linux-release-x86_64WARNING146
macos-release-arm64WARNING92
macos-oldrel-arm64WARNING92
windows-develWARNING96
windows-releaseWARNING86
windows-oldrelWARNING102
wasm-releaseOK108

Exports:samplerssize

Dependencies:bitbit64clidata.tabledplyrgenericsgluelifecyclemagrittropenxlsxpillarpkgconfigpurrrR6Rcpprlangstringitibbletidyselectutf8vctrswithrzip

Creating samples with sampler

Rendered fromUsing_sampler.Rmdusingknitr::rmarkdownon May 28 2026.

Last update: 2026-05-28
Started: 2026-05-28

Determining sample sizes with ssize

Rendered fromUsing_ssize.Rmdusingknitr::rmarkdownon May 28 2026.

Last update: 2026-05-28
Started: 2026-05-28