When I run a spatial model in R using spGLM function from spBayes package,
the following error message popup.

Error in spGLM(ane ~ 1, family = "binomial", data = FemaleAug, coords
= coord,  :
  error: either the coords have more than two columns or then number
of rows is different than
          data used in the model formula


But, the number of  columns in for coords are two, and the number of
rows also similar  with the dataset used in the model

> dim(coord)[1] 15233     2> dim(FemaleAug)[1] 15233    11

*_______________________________________________*



<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to