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 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.