print.pc_matrix {patterncausality} | R Documentation |
Print Pattern Causality Matrix
Description
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", ...)
Arguments
x |
A |
type |
The type of matrix to print ("all" or "positive", "negative", "dark"). |
... |
Additional arguments passed to the |
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)
print(pc_matrix_obj, type = "positive")
[Package patterncausality version 0.2.1 Index]