<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle"><!--P {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
--></style>
</head>
<body fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Times New Roman;color: #000000;font-size: 12pt;">
<div>
<p>Greetings,</p>
<p> </p>
<p>I am new to SPCA analysis, and haven't used R that much either.  I have 2 somewhat related questions:</p>
<p> </p>
<p>1) I read somewhere that lat and lon have to be converted to UTMs prior to analysis.  I have a rather large spatial area (Iowa to Texas), so it spans 14R to 15T regions.  I've looked at this page,
<a href="http://www.inside-r.org/packages/cran/PBSmapping/docs/convUL">http://www.inside-r.org/packages/cran/PBSmapping/docs/convUL</a> , and I'm wondering about the erroneous results and how this will work.  Has anyone out there done SPCA with a large area?</p>
<p> </p>
<p>2) Additionally, I've tried to duplicate a set of data on a smaller scale (XY data is already in UTMs, alleles from 14 loci are in a .gen file), and when I am prompted to choose a network, I choose 7 (inverse distance, the locations are not evenly distributed). 
 I am prompted to choose an exponent and a minimum distance.  I understand the exponent of 1, I think, but either my understanding of the min distance is wrong, or something else is producing this error:
</p>
<p> </p>
<p>error in if (any(x < 0)) stop("values in x cannot be negative") : missing value where TRUE/FALSE needed</p>
<p> </p>
<p>I have read through the tutorials for spca and adegenet, but clearly I'm still confused.  Any help would appreciated!</p>
<p> </p>
<div style="FONT-SIZE: 13px; FONT-FAMILY: Tahoma">
<p><font size="3" face="Rockwell">Katherine S. Miller</font></p>
<p><font size="3" face="Rockwell">Ph.D. candidate</font></p>
<p><font size="3" face="Rockwell"></font> </p>
<p><font size="3" face="Rockwell">Caesar Kleberg Wildlife Research Institute</font></p>
<p><font size="3" face="Rockwell">Texas A&M University-Kingsville</font></p>
<p><font size="3" face="Rockwell">MSC 218, 700 University Blvd</font></p>
<p><font size="3" face="Rockwell">Kingsville, TX 78363</font></p>
<p><font size="3" face="Rockwell"></font> </p>
<p><font size="3" face="Rockwell">(361) 593-4486, office</font></p>
<p><font size="3" face="Rockwell"></font> </p>
</div>
</div>
</div>
</body>
</html>