sampleSize {dendrometry} | R Documentation |
Sample size
Description
Sample size
Usage
sampleSize(
confLev = 0.95,
popPro = 0.5,
errorMargin = 0.05,
size = NULL,
method = ""
)
Arguments
confLev |
numeric, the confidence level. Default is |
popPro |
numeric, proportion of population which have considered factor.
Default is |
errorMargin |
numeric, margin error. Default is |
size |
integer, population size when it is know. If not specified, simple random sampling will be used. |
method |
optional character string specifying method to use if not simple adjusted is desired. Only "cauchran" is implemented now. |
Value
The sample size.
Examples
sampleSize(confLev = .95, popPro = 0.4, errorMargin = .05)
sampleSize(confLev = .95, popPro = 0.5, errorMargin = .05, size = 150)
sampleSize(confLev = .95, popPro = 0.5, errorMargin = .05, size = 150,
method = "cauchran")
sampleSize()
[Package dendrometry version 0.0.2 Index]