trace_explorer: Trace explorer

Description Usage Arguments

View source: R/trace_explorer.R

Description

Explore traces, ordered by relative trace frequency

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
trace_explorer(
  eventlog,
  coverage = NULL,
  n_traces = NULL,
  type = c("frequent", "infrequent"),
  coverage_labels = c("relative", "absolute", "cumulative"),
  .abbreviate = T,
  show_labels = T,
  label_size = 3,
  scale_fill = scale_fill_discrete(h = c(0, 360) + 15, l = 40),
  raw_data = F
)

plotly_trace_explorer(
  eventlog,
  coverage = NULL,
  n_traces = NULL,
  type = c("frequent", "infrequent"),
  .abbreviate = T,
  show_labels = T,
  label_size = 5,
  scale_fill = scale_fill_discrete(h = c(0, 360) + 15, l = 40),
  raw_data = F
)

Arguments

eventlog

Eventlog object

coverage

The percentage coverage of the trace to explore. Default is 20% most (in)frequent

n_traces

Instead of setting coverage, you can set an exact number of traces. Should be an integer larger than 0.

type

Frequent traces first, or infrequent traces first?

coverage_labels

Change the labels to be shown on the right of the process variants. These can be relative frequency (default), absolute, or cumulative.

.abbreviate

If TRUE, abbreviate activity labels

show_labels

If False, activity labels are not shown.

label_size

Font size of labels

scale_fill

Set color scale

raw_data

Retrun raw data


processmapR documentation built on March 13, 2020, 3 a.m.