Learn R Programming

dprep (version 2.1)

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. 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

near2,relief