Learn R Programming

simmer (version 3.5.1)

get_head: Get the first/last activity

Description

Trajectory getters for obtaining the pointer to its first/last activity.

Usage

get_head(.trj)
get_tail(.trj)

Arguments

.trj
the trajectory object.

Value

Returns an external pointer to an activity object.

See Also

get_n_activities, join.