print.global_test: Print a Global Test Result

View source: R/global_test.R

print.global_testR Documentation

Print a Global Test Result

Description

Reports the populations compared, the observed statistic and the permutation p value of a global_test analysis. An estimate at the resolution limit 1/(B+1) is marked as the minimum for B permutation replicates.

Usage

## S3 method for class 'global_test'
print(x, digits = getOption("digits"), ...)

Arguments

x

An object of class "global_test".

digits

Number of significant digits used for the statistic. Default getOption("digits").

...

Further arguments, currently ignored.

Value

x, invisibly.

See Also

global_test.

Examples

control <- generate_category_graphs(n_graphs = 20, n_nodes = 10,
  n_communities = 2, base_intra_prob = 0.6, base_inter_prob = 0.2, seed = 1)
patient <- generate_category_graphs(n_graphs = 20, n_nodes = 10,
  n_communities = 2, base_intra_prob = 0.6, base_inter_prob = 0.4, seed = 2)
global_test(list(Control = control, Patient = patient),
  n_permutations = 500, seed = 42)

BrainNetTest documentation built on Dec. 3, 2026, 5:08 p.m.