distan2 {dprep}R Documentation

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

Author(s)

Edgar Acuna

See Also

relief


[Package dprep version 2.0 Index]