cochranSize: Sample Size Calculation Using Cochran's Formula

Provides functions to calculate the minimum required sample size for surveys and studies using Cochran's formula, including the finite population correction. Cochran's formula is a standard method in survey methodology for determining sample size based on a desired margin of error, confidence level, and (optionally) known population size. All parameters (margin of error, confidence level, and expected proportion) are fully adjustable by the user rather than fixed to any convention.

Version: 0.1.0
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-08-08
DOI: 10.32614/CRAN.package.cochranSize (may not be active yet)
Author: Yosley Carrero [aut, cre]
Maintainer: Yosley Carrero <c3046338 at newcastle.ac.uk>
BugReports: https://github.com/yosleycarrero2025/cochranSize/issues
License: MIT + file LICENSE
URL: https://github.com/yosleycarrero2025/cochranSize
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: cochranSize results

Documentation:

Reference manual: cochranSize.html , cochranSize.pdf
Vignettes: Introduction to cochranSize (source, R code)

Downloads:

Package source: cochranSize_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): cochranSize_0.1.0.tgz, r-oldrel (arm64): cochranSize_0.1.0.tgz, r-release (x86_64): cochranSize_0.1.0.tgz, r-oldrel (x86_64): cochranSize_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=cochranSize to link to this page.