Learn R Programming

diffrprojects (version 0.1.14)

which_dist_min_absolute: (function to calculate minimum and position of minimum) takes vector of size n and vector of size m and gives back list with vectors of size n (minimum distance and location of minimum in y)

Description

(function to calculate minimum and position of minimum) takes vector of size n and vector of size m and gives back list with vectors of size n (minimum distance and location of minimum in y)

Usage

which_dist_min_absolute(x, y)

Arguments

x
a vector of type integer
y
a vector of type integer