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/caribouSim documentation built on May 8, 2022, 12:05 a.m.