Learn R Programming

robin (version 2.0.0)

robinGPTest: robinGPTest

Description

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

Usage

robinGPTest(x, verbose = FALSE)

Value

A numeric value, the Bayes factor

Arguments

x

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

verbose

flag for verbose output (default as FALSE).

Examples

Run this code
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)

Run the code above in your browser using DataLab