<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div><span></span></div><div></div><div id="yui_3_16_0_1_1424042947328_16059" dir="ltr"> Hi people,</div><div id="yui_3_16_0_1_1424042947328_23298" dir="ltr"><br></div><div id="yui_3_16_0_1_1424042947328_27208" dir="ltr">I am at the very initial stages of learning tlocoh so that I can estimate home ranges and calculate revisitation rate of elephants. While creating an xyt.lxy object, I constantly receive error message; <font id="yui_3_16_0_1_1424042947328_26608" color="#cd232c"><strong id="yui_3_16_0_1_1424042947328_28174">Error in min(xy[, 1]) : invalid 'type' (S4) of argument. </strong><font id="yui_3_16_0_1_1424042947328_27818" color="#000000">I will be happy to know what is going wrong with my code? </font></font></div><div id="yui_3_16_0_1_1424042947328_27811"><font color="#000000"></font><br></div><div id="yui_3_16_0_1_1424042947328_27510" dir="ltr"><font id="yui_3_16_0_1_1424042947328_27508" color="#cd232c"><font id="yui_3_16_0_1_1424042947328_28777" color="#000000">Thanks, and here are my codes: </font> </font><br></div><div id="yui_3_16_0_1_1424042947328_18811"><br></div><div id="yui_3_16_0_1_1424042947328_18810"><br></div><div class="signature" id="yui_3_16_0_1_1424042947328_18196"><font id="yui_3_16_0_1_1424042947328_17564" color="#4c76a2">> head(FRAcoordinates)</font><br> x y<br>0 386924.1 9369662<br>1 387761.6 9369931<br><br><font id="yui_3_16_0_1_1424042947328_18809" color="#4c76a2">> head(as.character(FRA$Date_))</font><br>[1] "2012-08-31 20:09:00.000" "2012-08-31 16:09:00.000" "2012-08-31 12:09:00.000"<br>[4] "2012-08-31 8:10:00.000" "2012-08-31 4:09:00.000" "2012-08-31 0:11:00.000" </div><div class="signature" id="yui_3_16_0_1_1424042947328_18197"><br><font color="#4c76a2">> FRA.localtime[1:3]</font><br>[1] "2012-08-31 23:09:00 EAT" "2012-08-31 19:09:00 EAT" "2012-08-31 15:09:00 EAT"<br></div><div class="signature" id="yui_3_16_0_1_1424042947328_16592"><br></div><div class="signature" id="yui_3_16_0_1_1424042947328_16593">><font id="yui_3_16_0_1_1424042947328_18508" color="#4c76a2"> FRA.lxy <- xyt.lxy(xy=FRA, dt=FRA.localtime, id="FRA",proj4string=CRS("+proj=utm +south +zone=36 +ellps=WGS84"))<br></font><strong id="yui_3_16_0_1_1424042947328_16944"><font id="yui_3_16_0_1_1424042947328_16943" color="#cd232c">Error in min(xy[, 1]) : invalid 'type' (S4) of argument<br></font></strong><br></div><div class="signature" id="yui_3_16_0_1_1424042947328_16062"><br></div><div class="signature" id="yui_3_16_0_1_1424042947328_29683" dir="ltr">/Elikana</div><div class="signature" id="yui_3_16_0_1_1424042947328_29983" dir="ltr">University of Dar es Salaam-Tanzania</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Wednesday, February 11, 2015 7:33 PM, Andy Lyons <lyons.andy@gmail.com> wrote:<br> </font> </div> <br><br> <div class="y_msg_container"><div id="yiv6929604027">
<div>
Hi Julia, <br>
<br>
That's a good question. It seems you need a way to identify hulls
that belong to specific sites, and save the site location as an
ancillary variable (which can then serve as a hull metric). There
isn't a function currently in the package that can classify points
or hulls based on their location in space, but we could develop one
because I think this would have general utility. <br>
<br>
How specifically would you want to assign points / hulls to sites?
One option for defining a site would be with a polygon, either by
drawing one on the plot window or bringing in a shapefile. Another
option would be defining a site based on distance from a given
location (i.e., a circle). After defining the site, would you want
to say that any point (and thus the hull for that point) that falls
within the site? Or would you only want hulls whose entire area
falls within the site? <br>
<br>
Comment from other people welcome also. <br>
<br>
Thanks.<br>
<br>
Andy<br>
<br>
<br>
<blockquote type="cite">
<div class="yiv6929604027"><br class="yiv6929604027">
<div>
<blockquote class="yiv6929604027" type="cite">
<div class="yiv6929604027">On Feb 11, 2015, at 5:53 AM, Julia Krejci <<a class="yiv6929604027" href="mailto:julia.krejci@chello.at" target="_blank" rel="nofollow" ymailto="mailto:julia.krejci@chello.at">julia.krejci@chello.at</a>>
wrote:</div>
<br class="yiv6929604027Apple-interchange-newline">
<div class="yiv6929604027">
<div class="yiv6929604027WordSection1" style="font: 12px/normal Helvetica; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255);">
<div class="yiv6929604027MsoNormal" style="margin: 0cm 0cm 12pt; font-family: Calibri, sans-serif; font-size: 11pt;"><span class="yiv6929604027" lang="EN-GB" style="color: rgb(31, 73, 125);">Dear Mailinglist,</span></div>
<div class="yiv6929604027MsoNormal" style="margin: 0cm 0cm 12pt; font-family: Calibri, sans-serif; font-size: 11pt;"><span class="yiv6929604027" lang="EN-GB" style="color: rgb(31, 73, 125);">I’m currently trying to compare hull
metrics (nsv and mnlv) of several individuals and
several sites. I want to know how long and how often
individual A visited site 1 and 2 and the same for
individual B. Is there a way to get more accurate
values for specific sites than I can receive from
the images? Currently I have just plotted the hpp
with the respective colour code and try to compare
colours but of course that’s not very accurate, also
because the colours only represent ranges of values
(like, yellow is 1 – 12, orange is 12 – 24 and so
on).<span class="yiv6929604027Apple-converted-space"> </span>
</span></div>
<div class="yiv6929604027MsoNormal" style="margin: 0cm 0cm 12pt; font-family: Calibri, sans-serif; font-size: 11pt;"><span class="yiv6929604027" lang="EN-GB" style="color: rgb(31, 73, 125);">Thank you for every advice!
</span></div>
<div class="yiv6929604027MsoNormal" style="margin: 0cm 0cm 12pt; font-family: Calibri, sans-serif; font-size: 11pt;"><span class="yiv6929604027" lang="EN-GB" style="color: rgb(31, 73, 125);">Best wishes,<span class="yiv6929604027Apple-converted-space"> </span>
</span></div>
<div class="yiv6929604027MsoNormal" style="margin: 0cm 0cm 12pt; font-family: Calibri, sans-serif; font-size: 11pt;"><span class="yiv6929604027" lang="EN-GB" style="color: rgb(31, 73, 125);">Julia<span class="yiv6929604027Apple-converted-space"> </span>
</span></div>
</div>
<span class="yiv6929604027" style="font: 12px/normal Helvetica; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255);">_______________________________________________</span><br class="yiv6929604027" style="font: 12px/normal Helvetica; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255);">
<span class="yiv6929604027" style="font: 12px/normal Helvetica; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255);">Tlocoh-info
mailing list</span><br class="yiv6929604027" style="font: 12px/normal Helvetica; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255);">
<a class="yiv6929604027" style="font: 12px/normal Helvetica; color: rgb(149, 79, 114); text-transform: none; text-indent: 0px; letter-spacing: normal; text-decoration: underline; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255);" href="mailto:Tlocoh-info@lists.r-forge.r-project.org" target="_blank" rel="nofollow" ymailto="mailto:Tlocoh-info@lists.r-forge.r-project.org">Tlocoh-info@lists.r-forge.r-project.org</a><br class="yiv6929604027" style="font: 12px/normal Helvetica; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255);">
<a class="yiv6929604027" style="font: 12px/normal Helvetica; color: rgb(149, 79, 114); text-transform: none; text-indent: 0px; letter-spacing: normal; text-decoration: underline; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255);" href="http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tlocoh-info" target="_blank" rel="nofollow">http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tlocoh-info</a><br class="yiv6929604027" style="font: 12px/normal Helvetica; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255);">
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div><br>_______________________________________________<br>Tlocoh-info mailing list<br><a href="mailto:Tlocoh-info@lists.r-forge.r-project.org" ymailto="mailto:Tlocoh-info@lists.r-forge.r-project.org">Tlocoh-info@lists.r-forge.r-project.org</a><br><a href="http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tlocoh-info" target="_blank">http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tlocoh-info</a><br><br><br></div> </div> </div> </div> </div></body></html>