Learn R Programming

dprep (version 2.1)

distan2: Auxiliary function used by the RELIEF function in the dprep library.

Description

Computes the distance between two instances of a dataset considering both continuous and nominal attributes.

Usage

distan2(x, y, vnom)

Arguments

x
A given instance
y
A given instance
vnom
A vector containing the indexes of nominal attributes

See Also

relief