Thank you Sebastian. I already tried what yu suggested and did not succeded unfortunately. I do not know someone could have another clue. Is weird When I run:
model<-glm(cases~p+t+nrd+swc, data=Datavivax,family="poisson")
just to check if there is something wrong with my data, it works perfectly. I was triyng to run just a fixed effects model like this
formula<-cases~p+t+nrd+swc
fit1<-inla(formula=formula, data=Datavivax, family="poisson",offset=log(pop),control.compute=list(dic=T,waic=T))
also does not work, and then I tried with a negative binomial given the high amount of ceros
fitnb<-inla(formula=formula, data=Datavivax, family="nbinomial",offset=log(pop),control.predictor=list(link=1),control.inla = list(int.strategy = "grid"),control.compute=list(config=TRUE))
Does not work. PLease if someone could give me any clue, I will really appreciate this,
Thank you.