On Fri, 3 Nov 2006, Jeffrey Stratford wrote:
> Hi.
>
> Does anyone have an example of estimating Moran's I from a file with
> point (not polygon) data? I'm getting close(r) but I still have a few
> problems.
>
> Here's my code so far:
>
> library(spdep)
> ctpoints <- read.csv("c:\\Georgia\\xy.
Hi.
Does anyone have an example of estimating Moran's I from a file with
point (not polygon) data? I'm getting close(r) but I still have a few
problems.
Here's my code so far:
library(spdep)
ctpoints <- read.csv("c:\\Georgia\\xy.csv", header=TRUE)
# only two columns containing the long-lat data
Replied to on R-help, but shapefiles has an undeclared dependence on
foreign, which ought to have been made explicit properly in the package.
Since read.dbf() in foreign is the shapelib function (and maptools and
rgdal also use shapelib), this might suggest that using maptools or rgdal
is a bett
Dear list
- Propoerly a beginner question, so bare with my frustration...
I tried install the 'shapefiles' package into R 2.4.0 but it seems that the
install had little effect...
> install.packages(c("shapefiles"))
--- Please select a CRAN mirror for use in t