Energy: Energy

View source: R/runELA.R

EnergyR Documentation

Energy

Description

Calculate energy of a given state.

Computing energy in state using given parameters,alpha and beta based on the (extended) maximum pairwise entropy model.

Usage

Energy(state, alpha, beta)

Arguments

state

Binary vector representing a state (community composition).

alpha

vector of implicit/explicit environmental effects on species.

beta

Matrix of species interactions.

Value

A numeric scalar giving the energy of the state.


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