Produces an event schedule object suitable for passing in the events argument to spec_rescomp().

event_set_introseq(times, concentrations, priority = 0)

Arguments

times

A numeric vector, of length spnum, of times at which each species should be introduced.

concentrations

A numeric vector or rescomp_coefs_vector, of length spnum, of species concentrations; the concentration of each species that should be added at the corresponding time.

priority

A number. If two events occur at the same time, the event with the lower priority number is processed first.

Value

S3 object of class rescomp_event_schedule.

Examples

# TODO