Re: [R] Duplicated date values aren't duplicates

2015-01-07 Thread bhradsky
I had the same error "Error in as.ltraj(xy, id, date = da) : non unique dates for a given burst", but from a different cause, that I'd like to share in case others have the same issue. My data came from GPS collars that collected dates and time in Greenwich Mean Time (GMT). However, the package a

Re: [R] Duplicated date values aren't duplicates

2010-12-29 Thread odocoileus55
Hi all, I am experiencing a similar issue with "non unique dates for a given burst". This is more of a practice session for me, I have data from 1 collared animal and for practice, assigned this individual 2 bursts (wk1 and wk2). This is what I have: ID DATETIME BURST X

Re: [R] Duplicated date values aren't duplicates

2009-07-24 Thread Tim Clark
icated date values aren't duplicates > To: "Tim Clark" , r-help@r-project.org > Date: Friday, July 24, 2009, 4:00 AM > Look at results of > >    table( mydata$DateTime ) > > and I think you will see that some are duplicated. > Specifically, the > two

Re: [R] Duplicated date values aren't duplicates

2009-07-24 Thread Don MacQueen
Look at results of table( mydata$DateTime ) and I think you will see that some are duplicated. Specifically, the two in your dupes object. -Don At 5:50 PM -0700 7/23/09, Tim Clark wrote: Dear list, I just had a function (as.ltraj in Adehabitat) give me the following error: "Error in as.

Re: [R] Duplicated date values aren't duplicates

2009-07-23 Thread jim holtman
What you are reporting is that there are two duplicated dates in your data. 'duplicated' returns a logical vector that is TRUE for the second and subsequent duplicates. Notice what is returned: > x <- c(1,2,2,3,4,4,5,6,4,7,3) > x[duplicated(x)] [1] 2 4 4 3 > On Thu, Jul 23, 2009 at 8:50 PM, T

[R] Duplicated date values aren't duplicates

2009-07-23 Thread Tim Clark
Dear list, I just had a function (as.ltraj in Adehabitat) give me the following error: "Error in as.ltraj(xy, id, date = da) : non unique dates for a given burst" I checked my dates and got the following: > dupes<-mydata$DateTime[duplicated(mydata$DateTime)] > dupes [1] (07/30/02 00:00:00) (