'trying to get slot "sigma2" from an object (class "summary.merMod") that is not an S4 object
i m working on R and getting this error
"trying to get slot "sigma2" from an object (class "summary.merMod") that is not an S4 object " in the following code. Plz anyone help me to fix this problem as i m not getting the actual meaning of this error.
if(inf == 0){
modelo<<-lmer(y~site+entry+site:entry+(1|site:rep),cultivo)
sigma2<-summary(modelo)@sigma^2
}
if(inf == 1 ) sigma2<-1
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
