Package: whSample 0.9.6.2

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.5)whSample_0.9.6.2.zip(r-4.4)whSample_0.9.6.2.zip(r-4.3)
whSample_0.9.6.2.tgz(r-4.4-any)whSample_0.9.6.2.tgz(r-4.3-any)
whSample_0.9.6.2.tar.gz(r-4.5-noble)whSample_0.9.6.2.tar.gz(r-4.4-noble)
whSample_0.9.6.2.tgz(r-4.4-emscripten)whSample_0.9.6.2.tgz(r-4.3-emscripten)
whSample.pdf |whSample.html
whSample/json (API)

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

Peer review:

Bug tracker:https://github.com/km4ivi/whsample/issues

On CRAN:

4.00 score 5 scripts 189 downloads 2 exports 24 dependencies

Last updated 3 years agofrom:204a326ed6. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winOKOct 31 2024
R-4.5-linuxOKOct 31 2024
R-4.4-winOKOct 31 2024
R-4.4-macOKOct 31 2024
R-4.3-winOKOct 31 2024
R-4.3-macOKOct 31 2024

Exports:samplerssize

Dependencies:bitbit64clidata.tabledplyrfansigenericsgluelifecyclemagrittropenxlsxpillarpkgconfigpurrrR6Rcpprlangstringitibbletidyselectutf8vctrswithrzip

Creating samples with sampler

Rendered fromUsing_sampler.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2021-05-13
Started: 2020-08-09

Determining sample sizes with ssize

Rendered fromUsing_ssize.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2020-08-09
Started: 2020-08-09