sample_nobs: Sample a certain number of observations

Description Usage Arguments

View source: R/simulate.R

Description

Sample a certain number of observations

Usage

1
sample_nobs(N, n_min, n_max, sample_func)

Arguments

N

number of clusters (institutions)

n_min

limit on the number of observations within the smallest cluster (institution)

n_max

limit on the of observations within the largest cluster (institution)

sample_func

function to sample jth cluster (institution) size in a form other than Unif(n_min,n_max)


oizin/funnelplot documentation built on March 11, 2021, 2:58 p.m.