nosoi (version 1.0.0)

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.

pres.time

current time

pasedFunction

parsed exit/moving function

active.hosts

a boolean vector of active hosts

Value

result vector