Dear list,

I am trying to create an ltraj object from but can't get the date - time information right.

All_1646=read.table("All_1646.csv", sep=",",header=TRUE,as.is=TRUE )
All_1646$Date=as.Date(All_1646$Date)
attr(All_1646, "projection") <- c("LL")
All_1646<- convUL(All_1646,km=FALSE)
All_1646$Datime <-as.POSIXct(paste(All_1646$Date, All_1646$Time), "%Y/%m/%d %H:%M:%S")
ltr1646 <- as.ltraj(All_1646, date=All_1646$Datime, id=All_1646$"Fish_ID", typeII = TRUE)

I get an error message "Error in as.ltraj(All_1646, date = All_1646$Datime, id = All_1646$Fish_ID,  :
non unique dates for a given burst".

However, the Datime column does include the time of observation as shown below. What am I doing wrong ?



Many thanks for your time,



Juliane



Datime
2006-08-18 08:48:59

	[[alternative HTML version deleted]]

