Hi, I am facing with a problem when running a code against the sample data from spdep. I am getting
"SpatialPoints" object : bbox should never contain infinite values In additionl Warning Messages: 1. In min(x): no non-missing arguments to min; returning Inf 2. In max(x): no non-missing arg... The code I am trying to execute: sidgams<-opgam<data=as(nc, "data.frame"), radius=30, step=10, alpha=.002) gampoints<-SpatialPoints(sidsgam[,c("x","y")]*1000, CRS("+proj=utm +zone=18 +datum=WGS84")) The input dataset is a modified polygon (in WGS datum) of North Carolina that comes with spdep, but using some other additional fields for calculation. I would be very happy to receive a suggestion on corecting this. Thanks! Dejan [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.