Learn R Programming

WARDEN (version 2.0.0)

next_event: Get the next events in the queue

Description

Retrieves the next n events (without removing them).

Usage

next_event(n = 1, ptr)

Value

A list of events, each with patient_id, event_name, and time.

Arguments

n

Number of events to retrieve. Default is 1.

ptr

The event queue pointer. Defaults to cur_evtlist.