<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
H<font face="Times New Roman, Times, serif">i Thibaut,<br>
<br>
I'm learning how to apply the MSPA methods from the supplemetary
data from paper in Ecograph</font><font face="Courier New,
Courier, monospace"><font face="Times New Roman, Times, serif"><i>y.<br>
</i></font><font face="Times New Roman, Times, serif">If I do
exactly what it written then I have this:</font><br>
</font><i><font face="Courier New, Courier, monospace">> cn <-
chooseCN(oribatid$xy,res="listw",ask=FALSE,type=1<font
color="#3333ff">)</font><font color="#3333ff">$cn</font><br>
> class(cn)<br>
[1] "NULL"<br>
> mspaEnv <- mspa(hsEnv.detr,cn,scannf=FALSE)<br>
Error in mspa(hsEnv.detr, cn, scannf = FALSE) : <br>
lw must be a listw object (package spdep)</font></i><br>
<font face="Courier New, Courier, monospace"><i><br>
</i><font face="Times New Roman, Times, serif">If I remonve $cn,
then I have this:</font><i><br>
</i></font><i><font face="Courier New, Courier, monospace"><br>
> cn <- chooseCN(oribatid$xy,res="listw",ask=FALSE,type=1)<br>
> class(cn)<br>
[1] "listw" "nb" <br>
> mspaEnv <- mspa(hsEnv.detr,cn,scannf=FALSE)<br>
Error in mspa(hsEnv.detr, cn, scannf = FALSE) : <br>
object 'network' not found<br>
<br>
</font></i><font face="Times New Roman, Times, serif">How should I
do?</font><br>
<font face="Times New Roman, Times, serif">Thanks<br>
Cecile<br>
</font>
</body>
</html>