pc_matrix {patterncausality} | R Documentation |
Pattern Causality Matrix Object
Description
Creates a pattern causality matrix object.
This function constructs an object of class pc_matrix
containing the positive,
negative, and dark causality matrices, along with item names.
Usage
pc_matrix(
positive = NULL,
negative = NULL,
dark = NULL,
items = NULL,
verbose = TRUE
)
Arguments
positive |
Positive causality matrix. |
negative |
Negative causality matrix. |
dark |
Dark causality matrix. |
items |
Names of items in the matrices. |
verbose |
Logical, whether to print progress information. |
Value
An object of class "pc_matrix".
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)
[Package patterncausality version 0.2.1 Index]