Man pages for ABM
Agent Based Model Simulation Framework

ABM-packageAgent Based Model Simulation Framework
addAgentadd an agent to a population
AgentR6 class that represent an agent
clearEventsUnschedule all event from an agent
ContactAn R6 class that implements a contact pattern in R
EventR6 class to create and represent an event
getAgentGet the agent at an index in the population
getIDGet the ID of the agent.
getSizeGet the size of a population
getStateGet the state of the agent
getTimereturns the event time
getWaitingTimeGenerate a waiting time from an WaitingTime object
leaveleave the population that the agent is in
matchStateCheck if the state of an agent matches a given state
newAgentCreate an agent with a given state
newConfigurationModelCreates a random network using the configuration model
newCounterCreate a logger of the Counter class
newEventCreates a new event in R
newExpWaitingTimeCreates an exponentially distributed waiting time
newGammaWaitingTimeCreates an gamma distributed waiting time
newPopulationCreate a new population
newRandomMixingCreates a RandomMixing object
newStateLoggerCreate a logger of the StateLogger class
PopulationR6 class that represents a population
scheduleSchedule (attach) an event to an agent
setDeathTimeset the time of death for an agent
setStateSet the state of the agent
setStatesSet the state for each agent in a population
SimulationR6 class Create and represent a Simulation object
StateThe state of an agent
stateMatchCheck if two states match
unscheduleUnschedule (detach) an event from an agent
ABM documentation built on April 4, 2025, 1:44 a.m.