growLin: Function for letting organisms grow linearly

growLinR Documentation

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 signature '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.

Details

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

Value

Returns the updated biomass of the organisms of interest.

See Also

Organism-class and optimizeLP


euba/BacArena documentation built on Aug. 29, 2024, 11:15 p.m.