R/traj2df.r

".traj2df" <- function(x) {
    if (!inherits(x, "traj"))
        stop("x should be of class traj")
    class(x)<-"data.frame"
    row.names(x)<-as.character(1:nrow(x))
    return(x)
}

Try the adehabitatLT package in your browser

Any scripts or data that you put into this service are public.

adehabitatLT documentation built on April 6, 2023, 5:18 p.m.