Displaying 1 result from an estimated 1 matches for "geodata9093".
2012 Oct 04
1
geoRglm with factor variable as covariable
Dear R users.
I'm trying to fit a generalised linear spatial mode using the geoRglm
package. To do so, I'm preparing my data (geodata) as follow:
geoData9093 = as.geodata(data9093, coords.col= 17:18, data.col=15,*
covar.col=16*)
where covar.col is a factor variable (years in this case 90-91-92-93)).
Then I run the model as follow:
/
model.5 = list(cov.pars=c(1,1), cov.model='exponential', beta=1,
family="poisson")
mcmc.5 = mcmc.cont...