Learn R Programming

BacArena (version 1.8.2)

diffuse: Function for diffusion

Description

The generic function diffuse computes the media distribution via diffusion

Usage

diffuse(object, lrw, sublb, verbose = TRUE)

# S4 method for Arena diffuse(object, lrw, sublb, verbose = TRUE)

Arguments

object

An object of class Arena.

lrw

A numeric value needed by solver to estimate array size (by default lwr is estimated in the simEnv() by the function estimate_lrw())

sublb

A matrix with the substrate concentration for every individual in the environment based on their x and y position.

verbose

Set to false if no status messages should be printed.