R/event.R
event_res_add.Rd
Produces an event object representing a pulse of added/removed resources.
event_res_add(resources, min_zero = TRUE)
A numeric vector or rescomp_coefs_vector
of resource concentrations, by which the current resource concentrations are increased. Can be negative, to decrease resource concentrations.
If this is TRUE, resulting resource concentrations are clamped to a minimum of zero. If this is FALSE, negative values of resources
may reduce resource concentrations below zero.
S3 object of class rescomp_event
.
# TODO