Zfun | R Documentation |
The function creates the Z matrix of auxiliary variables asscociatied with random effects.
Zfun(model, data)
model |
formula of model (use formula() function). |
data |
data. |
Z |
Z matrix. |
vNames |
labels of random effects. |
ZBlockNames |
labels of blocks of random effects. |
Alicja Wolny-Dominiak
data(invData)
modelFormula <- formula(investments~newly_registered + (newly_registered | NUTS2))
reg <- invData
Zfun(modelFormula, reg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.