Description Usage Arguments Value
Kass and Natarajan prior for random effects precision matrix
1 | KNprior(model, pred, Z, m = 1)
|
model |
Character. Either "poisson" or "binomial" |
pred |
Vector. GLM predictions in y-scale |
Z |
List. Covariates for random effects |
Integer. |
Number of trials if model = "binomial". If "poisson", leave as 1. |
List containing Wishart prior parameter nu, S-inverse, and S
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.