Prints the pattern causality matrix object. This function displays the specified causality matrix (or all matrices) with a preview of the first 5 rows and columns.
Usage
# S3 method for class 'pc_matrix'
print(x, type = "all", ...)
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)
print(pc_matrix_obj, type = "positive")
#> Pattern Causality Matrix Analysis:
#>
#> Number of items: 4
#>
#> Positive causality matrix:
#> AO AAO NAO PNA
#> AO NA 0.4470570 0.1426120 0.3362232
#> AAO 0.31787881 NA 0.2950807 0.2185726
#> NAO 0.07403504 0.3259937 NA 0.3150331
#> PNA 0.32414421 0.3234224 0.2080319 NA