Learn R Programming

BacArena (version 1.8.2)

growLin: Function for letting organisms grow linearly

Description

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

Usage

growLin(object, biomass, fbasol, tstep)

# S4 method for Organism growLin(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

Linear growth of organisms is implemented by adding the calculated growthrate by optimizeLP to the already present growth value.

See Also

Organism-class and optimizeLP