Dear friends,
  I want to finish the following task, hope someone to give the R
programs,thanks.

*step1*: Generate a planar x(0,100)*y(0,100) ;
*step2*: Divide the planar into 100 grids,either use the number of grids or
use the coordinates of x/y;(like gridpts(poly,npts,xs,ys)
#gridpts(splancs),)
*step3*: generate the spatial points with autocorrelation, and link points
with the grid center;
 how to do that ? Because of poor R programing techniques, I hope someone
will spend a few minutes to help me.
Any suggestions are greately welcome!
Hope to get the programs as soon as possible.

With kind regards,
Wei,Chang

	[[alternative HTML version deleted]]


