near2 {dprep}R Documentation

Auxiliary function for the reliefcat function

Description

This function finds out the instance in the data matrix that is closest to a given instance x. The attributes could be either continuous or nominal.

Usage

near2(x, data, vnom)

Arguments

x a given instance
data the name of the dataset
vnom a vector of indexes for nominal attributes

Author(s)

Edgar Acuna

See Also

relief,near1


[Package dprep version 1.0 Index]