Displaying 2 results from an estimated 2 matches for "gpsdata".
Did you mean:
gpmdata
2010 Nov 08
2
Fuzzy merge using timestamps
...older posts, I
got the idea to create a third data frame of both sets of timestamps,
individual identifiers, and a key to determine which dataset they have come
from, then find the breaks to determine which of each dataset should be
paired. the code I have written so far look something like this.
gpsdata$t_datetimegps<-as.POSIXct(gpsdata$t_datetimegps)
urdata$t_datetimeur<-as.POSIXct(urdata$t_datetimeur)
gpsdata$ID1 <- row.names(gpsdata)
urdata$ID2 <- row.names(urdata)
gpsdata$key1 <- rep(0, nrow(gpsdata))
urdata$key2 <- rep(1, nrow(urdata))
checkTimes <- data.frame(ID=c(g...
2009 Jul 24
3
Duplicated date values aren't duplicates
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) (08/06/03 17:45:00)
Is there a reason different dates would come up as duplicate