spatialstatisticsupna / bigDM

R package for scalable Bayesian disease mapping models for high-dimensional data
13 stars 4 forks source link

CAR_INLA and categorical variable covariates #5

Closed seyiaros closed 7 months ago

seyiaros commented 7 months ago

Hi

I have been trying to specify a model formula that will allow me to include different levels of categorical covariates using CAR_INLA. Seems this is not supported by CAR_INLA. I am trying to see how the estimates of the covariates change from a reference category. When I try using a factor variable within the CAR_INLA function, I get an error message " x must be numeric". Is there any way to solve this?

aritz-adin commented 7 months ago

Duplicate of #4