% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/runELA.R
\name{tptable}
\alias{tptable}
\title{tptable}
\usage{
tptable(ela, ocmat)
}
\arguments{
\item{ela}{output of \link{ELA} or the first return value of \link{ELPruning}.}

\item{ocmat}{community composition matrix.}
}
\value{
A data frame with columns \code{TP}, \code{SS1}, \code{SS2}, \code{Energy}, 
and one column per species (binary state vector).
If no tipping points exist, returns NULL (invisibly) after printing a message.
}
\description{
Summary of tipping points.

Builds a table of tipping points (transition states) and their energies from an ELA output.
This function lists only finite tipping points
(i.e., entries not equal to \code{Inf}), and returns the corresponding binary state vectors.

Two stable states are required at least.
}
