print.compare_gvar {tsnet}R Documentation

Print method for compare_gvar objects

Description

This function prints a summary of the Norm-Based Comparison Test for a [compare_gvar()] object.

Usage

## S3 method for class 'compare_gvar'
print(x, ...)

Arguments

x

A test object obtained from [compare_gvar()]

...

Additional arguments to be passed to the print method. (currently not used)

Details

This function prints a summary of the Norm-Based Comparison Test for a [compare_gvar()] object. in the temporal and contemporaneous networks, as well as the number of reference distances that were larger than the empirical distance for each network.

Value

Prints a summary of the Norm-Based Comparison Test to the console

Examples

# Load example fits
data(fit_data)

# Perform test
test_res <- compare_gvar(fit_data[[1]], fit_data[[2]], n_draws = 100)

# Print results
print(test_res)


[Package tsnet version 0.1.0 Index]