Description Usage Arguments Value Author(s) Examples
View source: R/get_sample_systematic.R
Calculate sampling interval
1 2 3 4 5 | calculate_sampling_interval(
n_sample,
n_total,
rounding = c("floor", "ceiling")
)
|
n_sample |
Number of sample required |
n_total |
Total number to sample from |
rounding |
Should the result be rounded up (ceiling) or rounded down (floor)? Default is rounded down. |
An integer value representing the sampling interval.
Ernest Guevarra
1 | calculate_sampling_interval(30, 200)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.