applyFunctionToHosts: Apply a function to table.host

View source: R/nosoi_utilityFunctions.R

applyFunctionToHostsR Documentation

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


slequime/nosoi documentation built on Feb. 15, 2024, 3:31 p.m.