Learn R Programming

tsnet (version 0.1.0)

print.compare_gvar: 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 compare_gvar
print(x, ...)

Value

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

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.

Examples

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

Run the code above in your browser using DataLab