plot_micmac: Plot MICMAC Diagram

View source: R/micmac.R

plot_micmacR Documentation

Plot MICMAC Diagram

Description

Creates a scatter plot showing the MICMAC classification of elements based on their driving power and dependence power.

Usage

plot_micmac(micmac_result, show_labels = TRUE, main = "MICMAC Analysis", ...)

Arguments

micmac_result

An object of class micmac_result from micmac_analysis.

show_labels

Logical. If TRUE (default), show node labels on the plot.

main

Title for the plot. Default is "MICMAC Analysis".

...

Additional arguments passed to plot.

Details

The plot is divided into four quadrants:

Quadrant I (bottom-left)

Autonomous variables - weak drivers, weak dependence

Quadrant II (bottom-right)

Dependent variables - weak drivers, strong dependence

Quadrant III (top-right)

Linkage variables - strong drivers, strong dependence

Quadrant IV (top-left)

Independent variables - strong drivers, weak dependence

Value

Invisibly returns the micmac_result object.

See Also

micmac_analysis for computing MICMAC results.

Examples

adj <- matrix(c(0, 1, 0, 0, 0,
                0, 0, 1, 0, 0,
                0, 0, 0, 1, 1,
                0, 0, 0, 0, 0,
                0, 0, 0, 0, 0), nrow = 5, byrow = TRUE)
rownames(adj) <- colnames(adj) <- paste0("F", 1:5)

reach <- compute_reachability(adj)
micmac <- micmac_analysis(reach)
plot_micmac(micmac)

ISMtools documentation built on March 13, 2026, 1:06 a.m.