<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_1424131902173_5050" dir="ltr">Many thanks, Andy</div><span id="yui_3_16_0_1_1424131902173_7960" lang="EN-GB"><div id="yui_3_16_0_1_1424131902173_4870" dir="ltr"><br></div><div id="yui_3_16_0_1_1424131902173_7959">Immediately after changing the x-y (FRAcoordinates) every step was so smooth until I was stuck in making the very last animation. Congrats, for putting up the Tlocoh package. The revisitation rate calculated and shown in tlocoh is extremely helpful in focusing elephant conservation efforts. </div></span><div id="yui_3_16_0_1_1424131902173_4869" dir="ltr"><br></div><div class="signature" id="yui_3_16_0_1_1424131902173_8361" dir="ltr">/Elikana</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 Monday, February 16, 2015 4:26 AM, Andy Lyons <lyons.andy@gmail.com> wrote:<br> </font> </div> <br><br> <div class="y_msg_container"><div id="yiv2162712418"><div>
Hi Elikana,<br clear="none">
<br clear="none">
Based on your code, it would seem the coordinates for your
individuals are saved in FRAcoordinates. Hence try:<br clear="none">
<br clear="none">
FRA.lxy <- xyt.lxy(xy=<font color="#ff0000">FRAcoordinates</font>,
dt=FRA.localtime, id="FRA",proj4string=CRS("+proj=utm +south
+zone=36 +ellps=WGS84"))<br clear="none">
<br clear="none">
If you still get the error message, email me back and I'll help you
diagnose the error.<br clear="none">
<br clear="none">
Cheers,<br clear="none">
<br clear="none">
Andy<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<div class="yiv2162712418yqt7389534459" id="yiv2162712418yqt27919"><div class="yiv2162712418moz-cite-prefix">On 2/15/2015 6:04 PM, elikana kalumanga
wrote:<br clear="none">
</div>
<blockquote type="cite">
<div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">
<div><span></span></div>
<div id="yiv2162712418yui_3_16_0_1_1424042947328_16059" dir="ltr"> Hi people,</div>
<div id="yiv2162712418yui_3_16_0_1_1424042947328_23298" dir="ltr"><br clear="none">
</div>
<div id="yiv2162712418yui_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="yiv2162712418yui_3_16_0_1_1424042947328_26608" color="#cd232c"><strong id="yiv2162712418yui_3_16_0_1_1424042947328_28174">Error in min(xy[,
1]) : invalid 'type' (S4) of argument. </strong><font id="yiv2162712418yui_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="yiv2162712418yui_3_16_0_1_1424042947328_27811"><br clear="none">
</div>
<div id="yiv2162712418yui_3_16_0_1_1424042947328_27510" dir="ltr"><font id="yiv2162712418yui_3_16_0_1_1424042947328_27508" color="#cd232c"><font id="yiv2162712418yui_3_16_0_1_1424042947328_28777" color="#000000">Thanks,
and here are my codes: </font> </font><br clear="none">
</div>
<div id="yiv2162712418yui_3_16_0_1_1424042947328_18811"><br clear="none">
</div>
<div id="yiv2162712418yui_3_16_0_1_1424042947328_18810"><br clear="none">
</div>
<div class="yiv2162712418signature" id="yiv2162712418yui_3_16_0_1_1424042947328_18196"><font id="yiv2162712418yui_3_16_0_1_1424042947328_17564" color="#4c76a2">>
head(FRAcoordinates)</font><br clear="none">
x y<br clear="none">
0 386924.1 9369662<br clear="none">
1 387761.6 9369931<br clear="none">
<br clear="none">
<font id="yiv2162712418yui_3_16_0_1_1424042947328_18809" color="#4c76a2">>
head(as.character(FRA$Date_))</font><br clear="none">
[1] "2012-08-31 20:09:00.000" "2012-08-31 16:09:00.000"
"2012-08-31 12:09:00.000"<br clear="none">
[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="yiv2162712418signature" id="yiv2162712418yui_3_16_0_1_1424042947328_18197"><br clear="none">
<font color="#4c76a2">> FRA.localtime[1:3]</font><br clear="none">
[1] "2012-08-31 23:09:00 EAT" "2012-08-31 19:09:00 EAT"
"2012-08-31 15:09:00 EAT"<br clear="none">
</div>
<div class="yiv2162712418signature" id="yiv2162712418yui_3_16_0_1_1424042947328_16592"><br clear="none">
</div>
<div class="yiv2162712418signature" id="yiv2162712418yui_3_16_0_1_1424042947328_16593">><font id="yiv2162712418yui_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 clear="none">
</font><strong id="yiv2162712418yui_3_16_0_1_1424042947328_16944"><font id="yiv2162712418yui_3_16_0_1_1424042947328_16943" color="#cd232c">Error
in min(xy[, 1]) : invalid 'type' (S4) of argument<br clear="none">
</font></strong><br clear="none">
</div>
<div class="yiv2162712418signature" id="yiv2162712418yui_3_16_0_1_1424042947328_16062"><br clear="none">
</div>
<div class="yiv2162712418signature" id="yiv2162712418yui_3_16_0_1_1424042947328_29683" dir="ltr">/Elikana</div>
<div class="yiv2162712418signature" id="yiv2162712418yui_3_16_0_1_1424042947328_29983" dir="ltr">University of Dar es Salaam-Tanzania</div>
<div class="yiv2162712418qtdSeparateBR"><br clear="none">
<br clear="none">
</div>
<div class="yiv2162712418yahoo_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
<a class="yiv2162712418moz-txt-link-rfc2396E" href="mailto:lyons.andy@gmail.com" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:lyons.andy@gmail.com"><lyons.andy@gmail.com></a> wrote:<br clear="none">
</font> </div>
<br clear="none">
<br clear="none">
<div class="yiv2162712418y_msg_container">
<div id="yiv2162712418">
<div> Hi Julia, <br clear="none">
<br clear="none">
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 clear="none">
<br clear="none">
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 clear="none">
<br clear="none">
Comment from other people welcome also. <br clear="none">
<br clear="none">
Thanks.<br clear="none">
<br clear="none">
Andy<br clear="none">
<br clear="none">
<br clear="none">
<blockquote type="cite">
<div class="yiv2162712418"><br class="yiv2162712418" clear="none">
<div>
<blockquote class="yiv2162712418" type="cite">
<div class="yiv2162712418">On Feb 11, 2015,
at 5:53 AM, Julia Krejci <<a class="yiv2162712418" href="mailto:julia.krejci@chello.at" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:julia.krejci@chello.at">julia.krejci@chello.at</a>>
wrote:</div>
<br class="yiv2162712418Apple-interchange-newline" clear="none">
<div class="yiv2162712418">
<div class="yiv2162712418WordSection1" 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="yiv2162712418MsoNormal" style="margin: 0cm 0cm 12pt; font-family: Calibri, sans-serif; font-size: 11pt;"><span class="yiv2162712418" lang="EN-GB" style="color: rgb(31, 73, 125);">Dear
Mailinglist,</span></div>
<div class="yiv2162712418MsoNormal" style="margin: 0cm 0cm 12pt; font-family: Calibri, sans-serif; font-size: 11pt;"><span class="yiv2162712418" 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="yiv2162712418Apple-converted-space"> </span>
</span></div>
<div class="yiv2162712418MsoNormal" style="margin: 0cm 0cm 12pt; font-family: Calibri, sans-serif; font-size: 11pt;"><span class="yiv2162712418" lang="EN-GB" style="color: rgb(31, 73, 125);">Thank
you for every advice!
</span></div>
<div class="yiv2162712418MsoNormal" style="margin: 0cm 0cm 12pt; font-family: Calibri, sans-serif; font-size: 11pt;"><span class="yiv2162712418" lang="EN-GB" style="color: rgb(31, 73, 125);">Best
wishes,<span class="yiv2162712418Apple-converted-space"> </span>
</span></div>
<div class="yiv2162712418MsoNormal" style="margin: 0cm 0cm 12pt; font-family: Calibri, sans-serif; font-size: 11pt;"><span class="yiv2162712418" lang="EN-GB" style="color: rgb(31, 73, 125);">Julia<span class="yiv2162712418Apple-converted-space"> </span>
</span></div>
</div>
<span class="yiv2162712418" 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="yiv2162712418" clear="none" 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="yiv2162712418" 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="yiv2162712418" clear="none" 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="yiv2162712418" 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" shape="rect" ymailto="mailto:Tlocoh-info@lists.r-forge.r-project.org">Tlocoh-info@lists.r-forge.r-project.org</a><br class="yiv2162712418" clear="none" 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="yiv2162712418" 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" shape="rect">http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tlocoh-info</a><br class="yiv2162712418" clear="none" 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 clear="none">
</div>
</blockquote>
<br clear="none">
</div>
</div>
<br clear="none">
_______________________________________________<br clear="none">
Tlocoh-info mailing list<br clear="none">
<a href="mailto:Tlocoh-info@lists.r-forge.r-project.org" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:Tlocoh-info@lists.r-forge.r-project.org">Tlocoh-info@lists.r-forge.r-project.org</a><br clear="none">
<a href="http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tlocoh-info" target="_blank" rel="nofollow" shape="rect">http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tlocoh-info</a><br clear="none">
<br clear="none">
<br clear="none">
</div>
</div>
</div>
</div>
</div>
</blockquote></div>
<br clear="none">
</div></div><br><br></div> </div> </div> </div> </div></body></html>