<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Liz,</p>
<p>To use an ancillary value as the hull metric for sorting hulls
when constructing isopleths, etc. you pass the following two
arguments:</p>
<p>my_lhs <- lhs.iso.add(my_lhs, sort.metric="anv",
anv="humidity")</p>
<p>The value of the anv argument should be the name of a column in
the attached data frame for the points. In other words, you need
to bring in the speed values into the LoCoH-lhs object before you
can use them for sorting hulls. There are a couple of ways to do
this. If you have your original locations saved in a data frame or
matrix, you can specify which additional columns to retain as
ancillary values when you first create the locoh-xy object. These
extra columns will then be carried over when you create the hulls
(and thus be available for sorting purposes). This is probably the
safest way to include ancillary values into a hullset.<br>
</p>
<p>There also functions lhs.anv.add() and lxy.anv.add(), which will
allow you to import a column of values into an existing hullset or
lxy object. These should be used with caution, however, because
the function presumes the values being imported are in the same
order as the points in the locoh-xy or locoh-hullset object. There
is no option to match up points and values on a common field
(although this would be helpful). If any duplicate points were
deleted when the locoh-xy object was created, or reordered, then
the points and values won't match up. <br>
</p>
<p>Other functions that work with hull metrics operate similarly
(you specify "anv" as the hull metric, and then pass the name of
the column as the value of a separate <b><tt>anv</tt></b>
argument. Klunky I know). I don't know if that answers your
question, but if you are still getting error messages feel free to
send me some output of your console and I'll take a look at it.</p>
<p>Cheers,<br>
Andy<br>
</p>
<br>
<div class="moz-cite-prefix">On 10/6/2016 10:57 AM, Elizabeth Morata
wrote:<br>
</div>
<blockquote
cite="mid:CAM+B2gF=3oyjGOO_1WYhPSPcSvJ5tv+wHFpsy1JWCYR3byy-DA@mail.gmail.com"
type="cite">
<div dir="ltr"><span style="font-size:12.8px">Hello,</span>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">I am using the T-LoCoH package,
along with the enjoyably written tutorial to examine peregrine
falcon home ranges in the Pacific Northwest, and I am running
into some trouble when trying to examine hull metrics using
ancillary speed data to create a behavioral map of where birds
are traveling and perhaps hunting within their home range.
When I create an kxy object I have been specifying the 'anv'
argument within the command to a data frame containing that
single variable extracted from the original uploaded data. Is
this correct? Later on when I try to compute hell metrics
based on speed using the 'lhs.anv.add' and then the
'lhs.filter.anv' command I receive this error:</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Error in
lhs.filter.anv(SamoaF_ann.lhs.<wbr>12000, anv.var = Speed) :<br>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">and after the colon proceeds to
list out each of the values contained within the Speed
variable. I assume I am mis-specifying some argument or
leaving out an important argument, has anyone else created
hulls based on ancillary data other than ellipse eccentricity,
NSV and MNLV ?</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Thank you for any
suggestions/input!</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Sincerely,</div>
<div style="font-size:12.8px">Liz Morata</div>
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr"><b><font face="garamond, serif" size="2">Elizabeth-Noelle
F. Morata</font></b>
<div><font face="garamond, serif" size="2">M.Sc Candidate</font></div>
<div><font face="garamond, serif" size="2">Department of
Wildlife</font></div>
<div><font face="garamond, serif" size="2">Humboldt State
University </font></div>
<div><font face="garamond, serif" size="2">Arcata, CA 95521</font></div>
<div><font face="garamond, serif" size="2">(510) 343-4346</font></div>
<div><a moz-do-not-send="true"
href="mailto:liz.morata@gmail.com" target="_blank"><font
face="garamond, serif" size="2">liz.morata@gmail.com</font></a></div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Tlocoh-info mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Tlocoh-info@lists.r-forge.r-project.org">Tlocoh-info@lists.r-forge.r-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tlocoh-info">http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tlocoh-info</a>
</pre>
</blockquote>
<br>
</body>
</html>