best.match: best.match

Description Usage Arguments Value Examples

Description

matches values to ones from a given nominal vector by their closest distance to it.

Usage

1
best.match(actual, nominal)

Arguments

actual

value or vector. the values to be matched

nominal

value or vector. the values to be matched against

Value

vector. matched values. values are matched by their minimal absolut distance to its target.

Examples

1
plot( best.match( dnorm( .05 * -100:100 ), seq( 0, .5, by = .1 ) ) )

TPeschel/hlpr4gamlss documentation built on May 28, 2019, 5:39 a.m.