robinGPTest {robin}R Documentation

robinGPTest

Description

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

Usage

robinGPTest(x, verbose = FALSE)

Arguments

x

A robin class object. The output of the functions: robinRobust and robinCompare.

verbose

flag for verbose output (default as FALSE).

Value

A numeric value, the Bayes factor

Examples

my_file <- system.file("example/football.gml", package="robin")
graph <- prepGraph(file=my_file, file.format="gml")
comp <- robinCompare(graph=graph, method1="fastGreedy",method2="infomap")
robinGPTest(comp)

[Package robin version 1.2.0 Index]