Skip to content

Provides a summary of the pattern causality matrix object. This function calculates and displays descriptive statistics (mean, SD, min, max) for each causality matrix (positive, negative, dark).

Usage

# S3 method for class 'pc_matrix'
summary(object, ...)

Arguments

object

A pc_matrix object.

...

Additional arguments passed to the summary function.

Value

Invisibly returns the input object.

Examples

data(climate_indices)
dataset <- climate_indices[, -1]
pc_matrix_obj <- pcMatrix(dataset, E = 3, tau = 1, 
  metric = "euclidean", h = 1, weighted = TRUE, 
  verbose = FALSE)
summary(pc_matrix_obj)
#> Pattern Causality Matrix Summary:
#> 
#> Number of items: 4 
#> 
#> Matrix statistics:
#>              Type   Mean     SD   Min    Max
#> Positive Positive 0.2773 0.1000 0.074 0.4471
#> Negative Negative 0.2569 0.0790 0.138 0.3660
#> Dark         Dark 0.4657 0.0494 0.402 0.5657