pc_matrix | R Documentation |
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(
positive = NULL,
negative = NULL,
dark = NULL,
items = NULL,
verbose = TRUE
)
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. |
An object of class "pc_matrix".
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.