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))}
yanxianUCSB/yxhelper documentation built on April 20, 2020, 4:09 p.m.