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

event_schedule_periodic(event_obj, period, start_time = period, priority = 0)

Arguments

event_obj

An object of class rescomp_event.

period

A number: the period at which the event occurs.

start_time

A number: the time at which the event first occurs.

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