Description Usage Arguments Value Note
impute missing data
1 2 | imputeUnderhill(data, formula = Observed ~ Year + Month + Site, initial = 0,
family = c("nbinomial", "poisson"))
|
data |
a |
formula |
A formula defining the model to use for the imputation |
initial |
the initial value by which the missing values are replaced |
family |
"nbinomial" for a negative binomial distribution or "poisson" for a Poisson distribution |
A list with two elements: data
with imputed values and iterations
which is the number of iterations
Deprecated function. Only relevant to run the code in the folder hpc
and paper_simulation
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.