getAgent: Get the agent at an index in the population

View source: R/RcppExports.R

getAgentR Documentation

Get the agent at an index in the population

Description

Get the agent at an index in the population

Arguments

population

an external pointer to a population, for example, one returned by newPopulation()

i

the index of the agent, starting from 1.

Value

the agent at index i in the population.


ABM documentation built on April 4, 2025, 1:44 a.m.