<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
I am not sure about which function you used. The function in
adegenet seems to work (at least the example). If you used the
function included in 'sedarJombart' on R-Forge (that included also
the mspa function), this behavior is 'normal'. I will try to
include both mspa and global/local tests this afternoon in
adespatial.. It will solve the issues.<br>
<br>
Cheers<br>
<br>
<br>
Le 22/08/2015 14:54, Josie Jackson a écrit :<br>
</div>
<blockquote
cite="mid:CAOAzwHXcH86naeMHf9MZpJODkfg6Pc9SpMvNYkMDq1hY60CoMg@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">Hello,
<div>I am trying to test if I have significant global structure
in my sPCA using the global rtest however I keep getting an
error saying could not find function orthobasis.listw. I see
that it has been removed from and put into adespatial. I have
updated R and installed adespatial but I am not sure how to
get it working again. </div>
<div>Any hints would be much appreciated!</div>
<div><br>
</div>
<div>script:</div>
<div>
<div>SnowyGtest <-
global.rtest(objSnowy1sbsp2$tab,mySpcaSnowy1sbsp2$lw, k = 1,
nperm=99)</div>
<div><br>
</div>
<div>Thanks very much,</div>
<div>Josie </div>
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">Josie D'Urban Jackson
<div><br>
<div>Ph.D student<br>
Department of Biology & Biochemistry<br>
University of Bath<br>
Claverton Down<br>
Bath </div>
<div>BA2 7AY<br>
United Kingdom<br>
</div>
<div><br>
</div>
<div>Cardiff University School of Biosciences, <br>
The Sir Martin Evans Building</div>
<div>Museum Avenue<br>
Cardiff</div>
<div>CF103AX<br>
United Kingdom<br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
adegenet-forum mailing list
<a class="moz-txt-link-abbreviated" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge.r-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Stéphane DRAY (<a class="moz-txt-link-abbreviated" href="mailto:stephane.dray@univ-lyon1.fr">stephane.dray@univ-lyon1.fr</a>)
Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - Lyon I
43, Bd du 11 Novembre 1918, 69622 Villeurbanne Cedex, France
Tel: 33 4 72 43 27 57 Fax: 33 4 72 43 13 88
<a class="moz-txt-link-freetext" href="http://pbil.univ-lyon1.fr/members/dray/">http://pbil.univ-lyon1.fr/members/dray/</a>
</pre>
</body>
</html>