plot.robin | R Documentation |
This function plots two curves: the measure of the null model and the measure of the real graph or the measure of the two community detection algorithms.
## S3 method for class 'robin'
plot(x, title = "Robin plot", ...)
x |
A robin class object. The output of the functions:
|
title |
The title for the graph. The default is "Robin plot". |
... |
other parameter |
A ggplot object.
## Not run: my_file <- system.file("example/football.gml", package="robin")
graph <- prepGraph(file=my_file, file.format="gml")
comp <- robinCompare(graph=graph, method1="fastGreedy",method2="louvain")
plot(comp)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.