Skip to contents

Print Permutation Test Results

Usage

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

Arguments

x

A tna_permutation object.

...

Additional arguments passed to the tibble print method.

Value

x (invisibly).

Examples

model_x <- tna(head(group_regulation, 200))
model_y <- tna(tail(group_regulation, 200))
# Small number of iterations for CRAN
perm <- permutation_test(model_x, model_y, iter = 20)
print(perm)
#> # A tibble: 81 × 4
#>    edge_name           diff_true effect_size p_value
#>    <chr>                   <dbl>       <dbl>   <dbl>
#>  1 adapt -> adapt        0            NA      1     
#>  2 cohesion -> adapt     0.00541       0.918  0.810 
#>  3 consensus -> adapt    0.00106       0.345  0.905 
#>  4 coregulate -> adapt   0.0111        0.777  0.619 
#>  5 discuss -> adapt     -0.116        -6.85   0.0476
#>  6 emotion -> adapt      0.00275       0.341  0.905 
#>  7 monitor -> adapt     -0.0102       -0.981  0.429 
#>  8 plan -> adapt         0.00180       0.623  0.476 
#>  9 synthesis -> adapt   -0.0863       -1.56   0.143 
#> 10 adapt -> cohesion    -0.0361       -0.489  0.714 
#> # ℹ 71 more rows