get_depth_from_n {wodds} | R Documentation |
Get depth from sample size
Description
Calculates the depth given a sample size and alpha level
Usage
get_depth_from_n(n, alpha = 0.05)
Arguments
n |
an integer scalar sample size |
alpha |
alpha level such as 0.1, 0.05, 0.01. An alpha of 0.05 would be associated with a 95 percent confidence interval |
Value
an integer depth
Examples
get_depth_from_n(1e4L, 0.05)
[Package wodds version 0.1.0 Index]