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 adehabitat package in your browser

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

adehabitat documentation built on Jan. 28, 2018, 5:02 p.m.