Hi Sebastian,
I had the same error message a few weeks ago. Just have a search at
AniMov.
The problem I had was due to same duplicates. So the first thing to
due is to figure out where your duplicates come from. It would also
help if you send your functions, etc.
Instead of "TB" use your name for the data and load it into R.
TB <- as.data.frame(read.table("GPS_2009_2010R.csv", header = TRUE,
sep = ','))
TB$Date <- as.POSIXct(strptime(TB$DateTime, "%d.%m.%Y %H:%M:%S", tz =
"GMT"))
TB2 <- TB[!duplicated(paste(TB$Date, TB$Bird)), ]
## You can also store it directly into TB, but that way you can still
## check the original data that remains unchanged
tr <- as.ltraj(TB2[, c("LON","LAT")], TB2$Date, TB2$Bird)
Cheers
Julia
On 06/09/2010, at 10:35 , Sebastian Cruz wrote:
Hello,
I am trying to use as.ltraj with my GPS tracking data. But get the
following message:
Error in as.ltraj(xy, id = tag.serial.number, date = date) :
non unique dates for a given burst
The fixes are every 30 seconds, so it is not possible to have unique
dates, only unique times. Any workaround?
Thank you for the help,
Sebastian
_______________________________________________
AniMov mailing list
[email protected]
http://lists.faunalia.it/cgi-bin/mailman/listinfo/animov
_______________________________________________
AniMov mailing list
[email protected]
http://lists.faunalia.it/cgi-bin/mailman/listinfo/animov