View source: R/create_graphs.R
graph_indifference | R Documentation |
Create a random indifference graph. An indifference graph is an interval graph where intervals have length 1.
graph_indifference(n, r = 2)
n |
number of nodes |
r |
radius |
'n' points (x) are sampled uniformly at random between 0 and 'r'. The interval is then given by (x,x+1)
indifference graph as igraph object and interval representation (a,b)
David Schoch
[graph_interval,graph_tolerance]
graph_indifference(n = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.