Learn R Programming

robin (version 1.0.0)

robinGPTest: robinGPTest

Description

This function implements the GP testing procedure and calculates the Bayes factor.

Usage

robinGPTest(ratio)

Arguments

ratio

The ratios output of the robinRobust function (or the ratios1vs2 output of the comparison function).

Value

A numeric value, the Bayes factor

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")
robinGPTest(ratio=Proc$ratios)
# }

Run the code above in your browser using DataLab