You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to R-inla discussion group
Hi
Please can you help me fix this error
N <-6000
> burn.in <- 500
> thin <- 10
> > f1_C_poisson <- CASES~ log(CUMUL_lag3)*logstring + offset(logMS_POPULATION)
> #Trying out INLA but didn't work
> model2a_pois_inla <- Bcartime( data=data_inla ,formula=f1_C_poisson, W=adj.mat_prov, scol="C_PROVI", tcol="week_id", model= c("bym", "ar1"), link="log", family="poisson", package="inla", N = N, burn.in = burn.in, thin = thin, verbose=TRUE )
Spatio-temporal models will be fitted.
INLA will be used.
*** inla.core.safe: The inla program failed, but will rerun in case better initial values may help. try=1/1
Error in inla.core.safe(formula = formula, family = family, contrasts = contrasts, :
In f(spaceid): 'covariate' must match 'values', and both must either be 'numeric', or 'factor'/'character'.
The inla program failed and the maximum number of tries has been reached.