Skip to content

whSample

Utilities for Sampling

v0.9.6.2 · May 13, 2021 · GPL-3

Description

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.

Downloads

217

Last 30 days

21118th

656

Last 90 days

2.5K

Last year

Trend: -9.6% (30d vs prior 30d)

CRAN Check Status

14 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 OK
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 History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies data.table magrittr openxlsx dplyr purrr bit64 whSample

Version History

new 0.9.6.2 Mar 10, 2026
updated 0.9.6.2 ← 0.9.4 diff May 12, 2021
updated 0.9.4 ← 0.9.2 diff Jan 13, 2021
updated 0.9.2 ← 0.9.0 diff Sep 2, 2020
updated 0.9.0 ← 0.8.9 diff Aug 30, 2020
new 0.8.9 Aug 27, 2020