Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

growth

Function implementing a growth model of a bacterium


Description

The generic function growth implements different growth models for an object of class Bac.

Usage

growth(object, population, j, occupyM, fbasol, tstep)

## S4 method for signature 'Bac'
growth(object, population, j, occupyM, fbasol, tstep)

Arguments

object

An object of class Bac.

population

An object of class Arena.

j

The index of the organism of interest in orgdat.

occupyM

A matrix indicating grid cells that are obstacles

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

Value

Boolean variable of the jth individual indicating if individual died.

See Also


BacArena

Modeling Framework for Cellular Communities in their Environments

v1.8.2
GPL-3 | file LICENSE
Authors
Eugen Bauer [aut], Johannes Zimmermann [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.