Learn R Programming

ClustOfVar (version 1.1)

getnnsvar: Nearest neighbor of variables

Description

Nearest neighbor of variables

Usage

getnnsvar(diss, flag)

Arguments

diss

a dissimilarity matrix between variables

flag

a vector of size p which indicates if we want to compute nearest neighbor of variable j (flag[j]=1) or not (flag[j]=0)