0
I’m trying to adjust a mixed effects model in which I have covariables that are nested (Varx5 | Varx6) and are considered fixed effects.
However, I am trying to adjust the data and the following message appears:
library(nlme)
library(lme4)
dados$VarCat=as.factor(dados$VarCat)
dados$VarX5=as.factor(dados$VarX5)
dados$VarX6=as.factor(dados$VarX6)
model <- lme(log(Resp)~log(VarX1)+log(VarX2)+(VarX3)+(VarX4)+VarX5|VarX6 ,random = ~1|VarCat,
dados, method="REML")
Error in if (any(notIntX <- !apply(X, 2, const))) { :
valor ausente onde TRUE/FALSE necessário
Have you tested by clearing empty fields?
– lmonferrari
@lmonferrari there are no empty fields..
– user55546