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)
Arguments
res
an object of class nosoiSimOne
.
pasedFunction
parsed exit/moving function
active.hosts
a boolean vector of active hosts