Learn R Programming

robin (version 1.0.0)

robinAUC: robinAUC

Description

This function calculates the area under two curves with a spline approach.

Usage

robinAUC(
  graph,
  model1,
  model2,
  measure = c("vi", "nmi", "split.join", "adjusted.rand")
)

Arguments

graph

The output of prepGraph.

model1

The Mean output of the robinRobust function (or the Mean1 output of the comparison function).

model2

The MeanRandom output of the robinRobust function (or the Mean2 output of the comparison function).

measure

The stability measure "vi", "nmi", "split.join", "adjusted.rand".

Value

A list

Examples

Run this code
# NOT RUN {
my_file <- system.file("example/football.gml", package="robin")
graph <- prepGraph(file=my_file, file.format="gml")
graphRandom <- random(graph=graph)
Proc <- robinRobust(graph=graph, graphRandom=graphRandom, method="louvain",
measure="vi",type="independent")
robinAUC(graph=graph, model1=Proc$Mean, model2=Proc$MeanRandom)
# }

Run the code above in your browser using DataLab