R/wawotest.ltraj.r

"wawotest.ltraj" <- function(x,...)
{
    if (!inherits(x, "ltraj"))
        stop("x should be of class \"ltraj\"")
    if ((!is.regular(x))&attr(x,"typeII"))
        stop("x should be regular or of type I")
    foo <- function(df){
        res=apply(df[,c("dx","dy","dist")],2,wawotest)
        return(res)
    }
    return(lapply(x,foo))
}

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.