SSentropy: SSentropy

View source: R/runELA.R

SSentropyR Documentation

SSentropy

Description

Estimate stable state entropy for a given state.

Evaluating the entropy of transitions among stable states starting from a given community state.

The returned value includes the estimated entropy, the convergence time, and the number of successful convergences within the given iteration limits.

Usage

SSentropy(state, ss, alpha, beta, seitr = 1000, convTime = 10000)

Arguments

state

Binary vector (or matrix with one row) representing the current state.

ss

Matrix of stable states.

alpha

Vector of implicit or explicit environmental effects.

beta

Matrix of species interactions.

seitr

Number of stochastic search iterations.

convTime

Maximum number of iterations for each search.

Value

A numeric matrix with three columns: (1) stable state entropy, (2) convergence time, (3) number of converged searches.


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