Description Usage Arguments Value Author(s) Examples
Epsilon-threshold graph. Two nodes are connected if their similarity is above
1 | epsilon_threshold_graph(mat,epsilon,names,similar)
|
mat |
: distance or similarity matrix. Should be square. |
epsilon |
: numeric in [0,1]. |
names |
: character list. The names of vertices. |
similar |
: logical scalar. If true matrix mat is a smiliarity matrix. Otherwise, mat is a distance matrix. |
Returns an igraph graph
Issam Falih <issam.falih@lipn.univ-paris13.fr>
1 2 | d <- dist(iris)
epsilon_threshold_graph(as.matrix(d),epsilon=0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.