[R-sig-Geo] whatis wrong with my testing for CSR using F/G function?

Roger Bivand Roger.Bivand at nhh.no
Tue Jun 20 10:42:32 CEST 2006

On Tue, 20 Jun 2006, Barry Rowlingson wrote:

> Barry Rowlingson wrote:
> >   polymap(bbox(pts))
> >   pointmap(grid.pts,add=T)
>   Okay, there's another reason this doesn't work: splancs now requires 
> the 'sp' package which defines a 'bbox' function that doesn't do the 
> same thing as the one in splancs. I dimly recall Roger noting this 
> sometime ago!

Thanks, Barry, I think that is right - without knowing which version of 
splancs the questioner is using. So again, when asking a question about 
problems with code, please include the output of sessionInfo(). I have a 
feeling that this is in part the same question that I replied to yesterday 
using sp and spatstat. 


>   There's now a 'bboxx' function (two 'x's at the end) in splancs that 
> does what the old splancs 'bbox' function did.
>   So if you do:
>    grid.pts<-gridpts(bboxx(pts),10*np)
>    pointmap(grid.pts,add=T)
> it should work. I did test my earlier solution, just not with a current 
> version of splancs.
> Barry
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no

More information about the R-sig-Geo mailing list