Other packages > Find by keyword >

whSample  

Utilities for Sampling
View on CRAN: Click here


Download and install whSample package within the R console
Install from CRAN:
install.packages("whSample")

Install from Github:
library("remotes")
install_github("cran/whSample")

Install by package version:
library("remotes")
install_version("whSample", "0.9.6.2")



Attach the package and use:
library("whSample")
Maintained by
Paul West
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2020-08-28
Latest Update: 2021-05-13
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.
How to cite:
Paul West (2020). whSample: Utilities for Sampling. R package version 0.9.6.2, https://cran.r-project.org/web/packages/whSample. Accessed 06 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:00), 0.8.9 (2020-08-28 12:40), 0.9.0 (2020-08-31 08:30), 0.9.2 (2020-09-03 00:40), 0.9.4 (2021-01-14 06:40), 0.9.6.2 (2021-05-13 17:00)
Other packages that cited whSample R package
View whSample citation profile
Other R packages that whSample depends, imports, suggests or enhances
Complete documentation for whSample
Functions, R codes and Examples using the whSample R package
Some associated functions: sampler . ssize . 
Some associated R codes: sampler.R . ssize.R .  Full whSample package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  
RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA