samplesizeestimator - Calculate Sample Size for Various Scenarios
Calculates sample size for various scenarios, such as
sample size to estimate population proportion with stated
absolute or relative precision, testing a single proportion
with a reference value, to estimate the population mean with
stated absolute or relative precision, testing single mean with
a reference value and sample size for comparing two unpaired or
independent means, comparing two paired means, the sample size
For case control studies, estimating the odds ratio with stated
precision, testing the odds ratio with a reference value,
estimating relative risk with stated precision, testing
relative risk with a reference value, testing a correlation
coefficient with a specified value, etc.
<https://www.academia.edu/39511442/Adequacy_of_Sample_Size_in_Health_Studies#:~:text=Determining%20the%20sample%20size%20for,may%20yield%20statistically%20inconclusive%20results.>.