[tlocoh-info] Removing duplicates in my data

Andy Lyons lyons.andy at gmail.com
Fri Oct 7 18:23:49 CEST 2016


Good tips. By default points with the same location, time stamp, and id 
(individual) are considered to be duplicates and either deleted or 
ignored based on the arguments passed to the xyt.lxy() function. 
Unexpected duplicate point errors can be difficult to diagnose, but the 
show.dup.dt=TRUE argument can help. The View() function will open up a 
data frame in something that looks like a spreadsheet, which can help 
you identify duplicate locations, garbled time stamps, etc. If you still 
have problems feel free to post your console output and we'll take 
another look. Best, Andy


On 10/7/2016 7:38 AM, Sandra Smith Aguilar wrote:
> Hi Maja,
>
> I had that problem as well. I suggest turning the option to show 
> duplicates to TRUE because usually it gives you a list of the 
> positions it is registering as duplicates so you can see what the 
> problem is. At some point I would not get the list of duplicates even 
> though it had them because the function was bumping into anther 
> problem due to a few lines in my database with had NA's instead of 
> valid position values, but once i made sure there were no empty 
> positions, the duplicate list showed up. Another possibility: since 
> you said you have added more than one animal, maybe there is a problem 
> indicating the ID field which is causing T-LoCoH not to realize it is 
> dealing with more than one individual. Make sure the id argument is 
> set to the id field for each of your individuals.
>
> Cheers,
> Sandra
>
>
> ------------------------------------------------------------------------
> *From:* Miranda Swagemakers <mswagem1 at gwdg.de>
> *To:* maja.bradaric92 at gmail.com
> *Cc:* tlocoh-info at lists.r-forge.r-project.org
> *Sent:* Friday, October 7, 2016 9:01 AM
> *Subject:* Re: [tlocoh-info] Removing duplicates in my data
>
> Hi Maja,
> I think you're encountering a new kind of duplicate here. If I 
> remember correctly, the dupes that get removed from the data set under 
> the default settings are the ones that have the same location and time.
> The duplicates that you run into when making the lxy object are the 
> once where the time is the same, but the locations are different. 
> Those kind of dupes shouldn't occur (an animal can't be in two places 
> at the same time), so you need to handle them somehow. I think there's 
> an option somewhere to jitter the times?
> If that isn't the problem, maybe post the exact error message?
> Good luck,
> Miranda
> On Oct 7, 2016, at 15:05, maja.bradaric92 at gmail.com 
> <mailto:maja.bradaric92 at gmail.com> wrote:
>
>     Hello,
>     I`ve just started to use T-LoCoH package for my data analysis. In
>     the begining, when I tried it with my GPS data for just one
>     individual, it worked well. Now, I am trying to apply the codes on
>     data I have about one species and after I make lxy object and plot
>     it, no further actions are possible, since it keeps to send error
>     messages about duplicates, even though it said that certain number
>     of them was removed immediately after I created my lxy object. I
>     tried to disable duplicate check, I`ve tried to repair the lxy
>     object, but it didn`t work.
>     Do you have any suggestions on how should I fix it?
>     Thanks in advance.
>     Maja
>     ------------------------------------------------------------------------
>
>     Tlocoh -info mailing list
>     Tlocoh-info at lists.r-forge.r-project.org
>     http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tlocoh-info
>
>
> _______________________________________________
> Tlocoh-info mailing list
> Tlocoh-info at lists.r-forge.r-project.org 
> <mailto:Tlocoh-info at lists.r-forge.r-project.org>
> http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tlocoh-info
>
>
>
>
> _______________________________________________
> Tlocoh-info mailing list
> Tlocoh-info at lists.r-forge.r-project.org
> http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tlocoh-info

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/tlocoh-info/attachments/20161007/ba904a20/attachment.html>


More information about the Tlocoh-info mailing list