plotMatrix {patterncausality} | R Documentation |
Visualize Pattern Causality Matrix
Description
The plotMatrix
function generates a visual representation of a pattern causality matrix using different methods. It allows users to visualize the positive, negative, or dark causality effects in a specified matrix, providing insight into the relationships between items.
Usage
plotMatrix(pcmatrix, status, method)
Arguments
pcmatrix |
A list containing three matrices ( |
status |
A character string specifying which causality matrix to plot. Must be one of |
method |
A character string specifying the visualization method for the plot. Options include |
Value
A visual plot of the selected causality matrix using the specified method. The plot provides a color-coded representation of the causality strengths between items.
Examples
data(climate_indices)
dataset <- climate_indices[,-1]
pcmatrix <- pcMatrix(dataset, E = 3, tau = 1, metric = "euclidean", h = 1, weighted = TRUE)
plotMatrix(pcmatrix, status = "positive", method = "color")