R/binCentered.R

#' Find mid-points of equal-length bins
#' @param x placeholder
#' @export
#'
binCentered <- function(x) {
    return(x[-length(x)] + (x[2] - x[1])/2)
}
tanerumit/hydrosystems documentation built on May 31, 2019, 2:57 a.m.