Description Usage Arguments Details Value Methods (by class) See Also
View source: R/filter_activity.R
Filters the log based on activities
1 2 3 4 5 6 7 8 9 10 11 | filter_activity(eventlog, activities, reverse, ...)
## S3 method for class 'eventlog'
filter_activity(eventlog, activities, reverse = FALSE,
...)
## S3 method for class 'grouped_eventlog'
filter_activity(eventlog, activities,
reverse = FALSE, ...)
ifilter_activity(eventlog)
|
eventlog |
The dataset to be used. Should be a (grouped) eventlog object. |
activities |
Character vector containing one or more activity identifiers. |
reverse |
Logical, indicating whether the selection should be reversed. |
... |
Deprecated arguments. |
The method filter_activity can be used to filter on activity identifiers. It has an activities argument, to which a vector of identifiers can be given. The selection can be negated with the reverse argument.
When given an eventlog, it will return a filtered eventlog. When given a grouped eventlog, the filter will be applied in a stratified way (i.e. each separately for each group). The returned eventlog will be grouped on the same variables as the original event log.
eventlog
: Filter eventlog for activity labels
grouped_eventlog
: Filter grouped eventlog for activity labels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.