I am experiencing this error not meaningful for factorsError in if (xi > xj) 1L else -1L : missing value where TRUE/FALSE needed
when trying to fit a lasso mixed model based on the R
package glmmLasso
and I can't quite figure out what's causing this.
My mdoel looks lik this
lassomodel<- glmmLasso(euclideaneye_mid ~ var1_z + var2_z + var3_z + var4_Z +
var5_z + var6_z + var7_z,
rnd = list(Participant_ID =~1, Stimulus_ID=~1),
lambda=10,
data = db1, final.re=TRUE)
Unfortunately, the cran documentation doesn’t clarify what's going on and there doesn’t seem to be a GitHub page to post any issues for this package.