R/getReachMovements.R

Defines functions getReachMovements

Documented in getReachMovements

#' getReachMovements
#'
#' @param x a dataframe that is the output of the fishpaths() function
#' @return a dataframe with the TagID, departure station, arrival station, and travel time in days
#' @details function author: Matt Espe
#' @export

getReachMovements = function(df)
{
    do.call(rbind, lapply(split(df, df$TagID), getReachOneFish))
}
Myfanwy/fishtrackr documentation built on May 7, 2019, 5:15 p.m.