powered by
trip
Coercing objects to trip class
as.trip(x, ...)
S4 trip object
ltr ltraj object
Arguments passed to other methods. Ignored for ltraj method.
ltraj
signature(from="ltraj", to="trip")
signature(x="ltraj")
d <- data.frame(x=1:10, y=rnorm(10), tms=Sys.time() + 1:10, id=gl(2, 5)) tr <- trip(d) if (require(adehabitatLT)) { l <- as(tr, "ltraj") ltraj2trip(l) as.trip(l) }
Run the code above in your browser using DataLab