Learn R Programming

EpiModel (version 2.0.5)

netsim_cond_msg: Message to find in which module a `condition` occured

Description

Returns vector of colors consistent with a high-brightness set of colors from an RColorBrewer palette.

Usage

netsim_cond_msg(cond, module, at, msg)

Arguments

cond

The type of `condition` handled (message, warning, error)

module

The name of the module where the `condition` occured

at

The time step the `condition` occured

msg

The `condition`'s message

Value

A formatted string describing where and whe the `condition` occured as well as the `condition`'s message.