knn_graph: k-nearest neighbor graph

Description Usage Arguments Value Author(s) Examples

Description

k-nearest neighbor graph defined over the similarity or distance matrix

Usage

1
knn_graph(dx,k,names,similarity)

Arguments

dx

: matrix that express the similarity or distance between elemenst i and j

k

: integer the number of neighbors.

names

: the names of vertex in the new graph

similarity

: if TRUE then dx is a similarity matrix else it is a distance matrix

Value

returns the Knn_graph defined over the similarity/Distance matrix dx

Author(s)

Issam Falih <issam.falih@lipn.univ-paris13.fr>

Examples

1
2

Issamfalih/MUNA documentation built on May 8, 2019, 11:52 a.m.