Learn R Programming

SpaDES (version 1.3.1)

numAgents: SELES - Number of Agents to initiate

Description

Sets the the number of agents to initiate. THIS IS NOT YET FULLY IMPLEMENTED.

A SELES-like function to maintain conceptual backwards compatability with that simulation tool. This is intended to ease transitions from SELES.

You must know how to use SELES for these to be useful.

Usage

numAgents(N, probInit)

Arguments

N

Number of agents to intitate (integer scalar).

probInit

Probability of initalizing an agent at the location.

Value

A numeric, indicating number of agents to start