voronii: Voronii

Description Usage Arguments Value

View source: R/utilities.r

Description

For a vector of values, computes indicator vector for the minimum value. When multiple values are minimum, randomly selects one of the values to indicate.

Usage

1

Arguments

x

vector of values (usually distances between locations and knots).

Value

Indicator vector of same length as x (typically denotes closest knot to given location).


jelsema/RRSM documentation built on May 19, 2019, 4:02 a.m.