plot.robin {robin} | R Documentation |
plot.robin
Description
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.
Usage
## S3 method for class 'robin'
plot(x, title = "Robin plot", ...)
Arguments
x |
A robin class object. The output of the functions:
|
title |
The title for the graph. The default is "Robin plot". |
... |
other parameter |
Value
A ggplot object.
Examples
## 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)
[Package robin version 1.2.0 Index]