det.c: return the index more closed of brn in the numeric vector.

det.cR Documentation

return the index more closed of brn in the numeric vector.

Description

return the index more closed of brn in the numeric vector.

Usage

det.c(brn, vec)

Arguments

brn

a number

vec

a numeric vector

Value

a number

Examples

# vec <- seq(1,100,by = .2)
# a <- det.c(59.38, vec)
# a = 293. So vec[293] is the most closed of 59,38 than vec.

JHuguenin/provoc documentation built on Jan. 29, 2024, 12:39 a.m.