calculate_sampling_interval: Calculate sampling interval

Description Usage Arguments Value Author(s) Examples

View source: R/get_sample_systematic.R

Description

Calculate sampling interval

Usage

1
2
3
4
5
calculate_sampling_interval(
  n_sample,
  n_total,
  rounding = c("floor", "ceiling")
)

Arguments

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.

Value

An integer value representing the sampling interval.

Author(s)

Ernest Guevarra

Examples

1

ernestguevarra/surveysampler documentation built on Jan. 2, 2022, 4:25 a.m.