robinGPTest: robinGPTest

View source: R/ROBIN.R

robinGPTestR 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)

robin documentation built on June 24, 2024, 5:11 p.m.