R/which.close2.R

Defines functions which.close2

Documented in which.close2

#' Title
#'
#' @param x
#' @param b
#'
#' @return
#' @export
#'
#' @examples
which.close2 <- function(x, b) {which.min(abs(x - b))}
ylin00/yxhelper documentation built on April 20, 2020, 10:44 p.m.