[R-sig-Geo] whatis wrong with my testing for CSR using F/G function?-still have a little problem

Barry Rowlingson B.Rowlingson at lancaster.ac.uk
Tue Jun 20 15:18:52 CEST 2006


zhijie zhang wrote:

> plot(pts)
> grid.pts<-gridpts(bboxx(pts),10*np)
> pointmap(grid.pts,add=T)

  You should only use 'pointmap' and 'polymap' when you first start a 
plot with splancs. So:

pointmap(pts)
pointmap(grid.pts,add=T,pch=2)

  should work. I've put 'pch=2' to plot the grid points with a different 
shape.

  Try that!

Barry




More information about the R-sig-Geo mailing list