Displaying 1 result from an estimated 1 matches for "bbtraj".
2013 May 17
1
Error with adehabitatHR and kernelbb
...i[1], yli[2], by = diff(xg[1:2])) :
> invalid (to - from)/by in seq(.)
I looked at the coordinates, at the id, at the time of the run 43 and it's all good...
I looked on the net and it happened to only one person and there was no answer to his post.
Someone could help me?
## commands
BBtraj <- list()
for (i in 1:(nrow(loc@data)-1)) {
BBtraj[[i]] <- kernelbb(as.ltraj(loc@coords[i:(i+1),], date=loc@data$time[i:(i+1)], id = as.character(loc@data$id[i:(i+1)]),
typeII = TRUE), sig1=as.numeric(as.character(loc@data$sig1[i])), sig2= 5, grid = 1000)
}
Rémi Lesmerises, biol. M.Sc.,
Ca...