deltaE_histogram: Plot histograms of bootstrap deltaE values

View source: R/visualization.R

deltaE_histogramR Documentation

Plot histograms of bootstrap deltaE values

Description

For each stable state, this function computes the difference between the energy values of the corresponding tipping point and the stable state across bootstrap samples, then draws a histogram of the resulting deltaE values.

Usage

deltaE_histogram(bootstrap_ene, grobj_to_plot, getData = TRUE)

Arguments

bootstrap_ene

A data frame containing energies in stable states and tipping points, output of bootstrap_ELA.

grobj_to_plot

A data frame containing stable state - tipping point relationship, output of showDG

getData

Logical. If 'TRUE', return the computed deltaE values as a list. If 'FALSE', return 'NULL'.

Value

If 'getData = TRUE', a list of numeric vectors, one per deltaE for each stable state. If 'getData = FALSE', 'NULL'.


ELAplus documentation built on May 28, 2026, 5:09 p.m.