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

diffuseR

Function for naive diffusion (neighbourhood) of the Substance matrix


Description

The generic function diffuseR implements the diffusion in the Moore neighbourhood in R.

Usage

diffuseR(object)

## S4 method for signature 'Substance'
diffuseR(object)

Arguments

object

An object of class Substance.

Details

The diffusion is implemented by iterating through each cell in the grid and taking the cell with the lowest concentration in the Moore neighbourhood to update the concentration of both by their mean.

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.