% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visualization.R
\name{deltaE_histogram}
\alias{deltaE_histogram}
\title{Plot histograms of bootstrap deltaE values}
\usage{
deltaE_histogram(bootstrap_ene, grobj_to_plot, getData = TRUE)
}
\arguments{
\item{bootstrap_ene}{A data frame containing energies in stable states and tipping points,
output of \link{bootstrap_ELA}.}

\item{grobj_to_plot}{A data frame containing stable state - tipping point relationship,
output of \link{showDG}}

\item{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`.
}
\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.
}
