Skip to contents

Select first n activity instances.

Usage

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

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

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

# S3 method for grouped_log
first_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)

  • first_n(eventlog): Select first n activity instances of an eventlog.

  • first_n(activitylog): Select first n activity instances of an activitylog.

  • first_n(grouped_log): Select first n activity instances of a grouped_log.