nearest: Find nearest value

View source: R/nearest.R

nearestR Documentation

Find nearest value

Description

Finds element of vector which is nearest to a given constant

Usage

nearest(vec, constant = 0)

Arguments

vec

A vector

constant

A numeric, default is 0


chrisroberts2112/msProject documentation built on April 21, 2022, 1:59 a.m.