| random_N {metagear} | R Documentation | 
Random generation of sample sizes (N) for study outcomes.
Description
Generates random sample sizes (N) by either sampling from a Negative Binomial or Poisson distribution.
Usage
random_N(K, method = "NegativeBinomial", mean = 15, min = 3, NB_size = 15)
Arguments
K | 
 Number of sample sizes to generate.  | 
method | 
 A string that defines what sampling distribution to generate
random N.  The default is   | 
mean | 
 The population mean (mu) if   | 
min | 
 A non-negative integer that specifies the minimum sample size that can be generated. Default is N = 3.  | 
NB_size | 
 Dispersion parameter for the   | 
Value
A vector of random sample sizes (N).