Learn R Programming

patterncausality (version 0.2.1)

plot_total: Plot Total Pattern Causality

Description

Visualizes the total pattern causality strength as a barplot. This function takes a pc_fit object and generates a barplot showing the overall causality strength.

Usage

plot_total(x, ...)

Value

NULL invisibly.

Arguments

x

An object containing pattern causality results, typically a pc_fit object.

...

Additional arguments passed to the underlying plotting functions.

References

Stavroglou et al. (2020) tools:::Rd_expr_doi("10.1073/pnas.1918269117")

See Also

plot_components for visualizing individual causality components.

Examples

Run this code
data(climate_indices)
X <- climate_indices$AO
Y <- climate_indices$AAO
pc_result <- pcLightweight(X, Y, E = 3, tau = 2, metric = "euclidean", h = 1, weighted = TRUE)
plot_total(pc_result)

Run the code above in your browser using DataLab