Learn R Programming

edeaR (version 0.6.0)

filter_trace_frequency: Filter: Trace frequency percentile

Description

Filters the log based the frequency of traces, using an upper and lower threshold or a percentile cut off.

Usage

filter_trace_frequency(eventlog, lower_threshold = NULL,
  upper_threshold = NULL, percentile_cut_off = NULL, reverse = F)

ifilter_trace_frequency(eventlog)

Arguments

eventlog

The event log to be used. An object of class eventlog.

lower_threshold

The lower frequency threshold. When reverse is FALSE, all traces with a lower frequency are discarded.

upper_threshold

The upper frequency threshold. When reverse is FALSE, all traces with a higher frequency are discarded.

percentile_cut_off

Alternatively to providing thresholds, a percentile cut off can be provided. A percentile cut off value of 0.9 will return the most common traces, accounting for 90% of the cases. When reverse is set to TRUE, it will return the least common traces, acoounting for 10% of the cases.

reverse

A logical parameter depicting whether the selection should be reversed.