nosoi (version 1.1.2)

applyFunctionToHosts: Apply a function to table.host

Description

Return a vector of the results of the function

Usage

applyFunctionToHosts(res, pres.time, pasedFunction, active.hosts)

Value

result vector

Arguments

res

an object of class nosoiSimOne.

pres.time

current time

pasedFunction

parsed exit/moving function

active.hosts

a boolean vector of active hosts