Skip to contents

Select last n activity instances

Usage

last_n(log, n, eventlog = deprecated())

# S3 method for eventlog
last_n(log, n, eventlog = deprecated())

# S3 method for activitylog
last_n(log, n, eventlog = deprecated())

# S3 method for grouped_log
last_n(log, n, eventlog = deprecated())

Arguments

log

log: Object of class log or derivatives (grouped_log, eventlog, activitylog, etc.).

n

integer: The number of activity instances to select.

eventlog

[Deprecated]; please use log instead.

Methods (by class)

  • last_n(eventlog): Select last n activity instances of an eventlog.

  • last_n(activitylog): Select last n activity instances of an activitylog.

  • last_n(grouped_log): Select last n activity instances of a grouped_log.