nearest_val: looks for the value closest to the provided values, in a...

View source: R/lib_vector.R

nearest_valR Documentation

looks for the value closest to the provided values, in a vector of provided values, return the value

Description

looks for the value closest to the provided values, in a vector of provided values, return the value

Usage

nearest_val(look_near_these_values, in_these_values)

Arguments

look_near_these_values

look for values close to these

in_these_values

look in this vector


jorritvm/jrutils documentation built on Feb. 14, 2023, 11:33 p.m.