next_event_pt: Get the next events in the queue for a specific patient

View source: R/input_f.R

next_event_ptR Documentation

Get the next events in the queue for a specific patient

Description

Retrieves the next n events (without removing them).

Usage

next_event_pt(n = 1, ptr, patient_id)

Arguments

n

Number of events to retrieve. Default is 1.

ptr

The event queue pointer. Defaults to cur_evtlist.

patient_id

The patient ID. Defaults to i.

Value

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


WARDEN documentation built on Nov. 5, 2025, 7:45 p.m.