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)
}
ClementCalenge/adehabitat documentation built on May 6, 2019, 12:02 p.m.