R/moveData.R

moveData<-function (data) 
{
    if (is.null(data$ID) | is.null(data$step) | is.null(data$x) | 
        is.null(data$y)) 
        stop("Can't construct moveData object: fields are missing")
    obj <- data
    class(obj) <- append("moveData", class(obj))
    return(obj)
}

Try the momentuHMM package in your browser

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

momentuHMM documentation built on Oct. 19, 2022, 1:07 a.m.