Learn R Programming

dprep (version 3.0.2)

near1: Auxiliary function for the reliefcont function

Description

This function finds the instance in the data matrix that is closest to a given instance x using Euclidean distance. It is assumed that all the attributes are continuous.

Usage

near1(x, data)

Arguments

x
A given instance
data
The name of the dataset

See Also

near3,distancia