Description Usage Arguments Value Author(s) See Also
getPSampleSize
Computes the required sample size for a proportion, such
that the population proportion is within a designated margin of error of the
sample proportion with a designated level of confidence.
1 | getPSampleSize(p, conf = 0.95, me = 0.05)
|
p |
Numeric proportion between 0 and 1 |
conf |
Numeric confidence level between 0 and 1 |
me |
Numeric margin of error between 0 and 1 |
sampleSize Minimum required sample size
John James, jjames@datasciencesalon.org
Other analysis functions: cramers
,
getCSampleSize
,
getSummaryStats
, pearsons
,
x2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.