first_n: first_n

View source: R/first_n.R

first_nR Documentation

first_n

Description

Select first n activity instances.

Usage

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

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

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

## S3 method for class '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.


bupaR documentation built on May 29, 2024, 7:46 a.m.