On Fri, 23 Feb 2007, Takatsugu Kobayashi wrote:
> Rusers:
>
> I am trying to compute a Moran's I coefficient for census tracts for
> Indianapolis in R. I have a shapefile for Indianapolis and uploaded it
> into R. I understand how to compute a Moran's I coefficient using knn2nb
> command. How
Rusers:
I am trying to compute a Moran's I coefficient for census tracts for
Indianapolis in R. I have a shapefile for Indianapolis and uploaded it
into R. I understand how to compute a Moran's I coefficient using knn2nb
command. How can I compute a Moran's I based on a edge/border contiguity
Matthew, try
library(gstat)
demo(gstat3D)
It doesn't use the sp classes, and in the next version it will be like this:
# $Id: gstat3D.R,v 1.4 2006-02-10 19:05:02 edzer Exp $
# simple demo of 3D interpolation of 50 points with random normal values,
# randomly located in the unit cube
n <- 50
dat