Dejan Gregor
2009-Apr-17 12:36 UTC
[R] Using spdep example data and R code : bbox should never contain infinite values
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]]