last_n: last_n

View source: R/last_n.R

last_nR Documentation

last_n

Description

Select last n activity instances

Usage

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

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

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

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


bupaR documentation built on April 3, 2023, 5:23 p.m.