s-news
[Top] [All Lists]

spatial stats

To: s-news@lists.biostat.wustl.edu
Subject: spatial stats
From: "jose Bartolomei" <surfprjab@hotmail.com>
Date: Tue, 29 Jul 2003 16:08:29 +0000
Dear S-Plus users,

I am a new user of s-plus 6.1 and s-plus spatial stat.

I am conducting the spatial stat module tutorial on Lattice data and I have two concerns.

1)
The spatial autocorrelation procedure return a problem message when,

npermutes is other than 0

Example:
sids.cor1<-spatial.cor(sids$sid.ft*sqrt(sids$births),
neighbor=sids.neighbor,statistic="moran",
sampling="free",npermutes=1000)

sids.cor1

result:
Problem in .C: Cannot coerce mode list to integer: list(value = c(68., 97., 49., 18., 5., 77., 95., 3., 95., ...., while calling subroutine spatial_correlation
Use traceback() to see the call stack.

What could be happening?

2)
It is possible to export an Arc/Veiw 8.2 shapefile to s-plus in order to
create an spatial neighbor file?

I want to work with the Archipelago of Puerto Rico with municipalities as neighbors.
Which is the best way to this spatial information?


Thanks in advance,

Jose
e-mail: surfprjab@hotmail.com

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail


<Prev in Thread] Current Thread [Next in Thread>
  • spatial stats, jose Bartolomei <=