Skip to content
Prev 19634 / 20628 Next

Modelling with uncertain (but not missing) categorical random effect values

Something like:

   lmod$reTrms$Ztlist <- list(Matrix(t(W)), Z2, Z3, Z4, ...)

where the additional `Z` components are the random-effects models for 
the additional terms you want (you could for example pull these from an 
`lFormula()` call using a formula that included those components in the 
random effects), and

   lmod$reTrms$Zt <- do.call(rbind, lmod$reTrms$Ztlist)

(I think)
On 12/20/21 12:43 PM, Mike Lawson wrote: