powered by
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.
pc_matrix
pc_matrix( positive = NULL, negative = NULL, dark = NULL, items = NULL, verbose = TRUE )
An object of class "pc_matrix".
Positive causality matrix.
Negative causality matrix.
Dark causality matrix.
Names of items in the matrices.
Logical, whether to print progress information.
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)
Run the code above in your browser using DataLab