Description Usage Arguments Value
View source: R/count_model_utilities.R
The function takes data.frames X and Z, and it produces a formula that could be used by other functions such as pscl::zeroinfl.
1 | XZ_to_form(out_name, X, Z)
|
out_name |
outcome name |
X |
design matrix for count model, should be a data.frame |
Z |
design matrix for zero-inflation model, should be a data.frame |
A formula
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.