[R-sig-Geo] spreml function

Federico Dell'Anna |eder|co@de||@nn@ @end|ng |rom po||to@|t
Thu Apr 11 14:48:41 CEST 2019


Dear,
I have a problem with “spreml” function in R.
I have a dataset of 26000 observation, like points.
I have imported the shp file in R, and .gal file calculated previously in GEODA.
When i run spreml, an error comes:
Error in as.vector(x) : no method for coercing this S4 class to a vector
below the function:
mapsart <- spreml(fm, data = map, w = maplistw, errors="sr", lag=TRUE, method="BFGS”)


Can you help me to solve this problem?

Regards

Federico



	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list