Learn R Programming

BacArena (version 1.8.2)

growExp: Function for letting organisms grow exponentially

Description

The generic function growExp implements a growth model of organisms in their environment.

Usage

growExp(object, biomass, fbasol, tstep)

# S4 method for Organism growExp(object, biomass, fbasol, tstep)

Arguments

object

An object of class Organisms.

biomass

A number indicating the current biomass, which has to be updated.

fbasol

Problem object according to the constraints and then solved with optimizeProb.

tstep

A number giving the time intervals for each simulation step.

Value

Returns the updated biomass of the organisms of interest.

Details

Exponential growth of organisms is implemented by adding the calculated growthrate multiplied with the current growth calculated by optimizeLP plus to the already present growth value

See Also

Organism-class and optimizeLP