CRAN/E | whSample

whSample

Utilities for Sampling

Installation

About

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.

Key Metrics

Version 0.9.6.2
R ≥ 3.5.0
Published 2021-05-13 1091 days ago
Needs compilation? no
License GPL-3
CRAN checks whSample results

Downloads

Yesterday 12 0%
Last 7 days 53 -45%
Last 30 days 237 +23%
Last 90 days 631 -26%
Last 365 days 2.688 0%

Maintainer

Maintainer

Paul West

fp8049@gmail.com

Authors

Paul West

aut / cre

Material

README
Reference manual
Package source

Vignettes

Creating samples with sampler
Determining sample sizes with ssize

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

whSample archive

Depends

R ≥ 3.5.0

Imports

data.table
magrittr
openxlsx
dplyr
purrr
tools
utils
bit64

Suggests

knitr
rmarkdown
testthat