trace_explorer {processmapR} | R Documentation |
Trace Explorer
Description
Different activity sequences in the log
can be visualized with trace_explorer()
. With the type
argument,
it can be used to explore frequent as well as infrequent traces. The coverage
argument specificies how much of the
log
you want to explore. By default it is set at 0.2
, meaning that it will show the most (in)frequency traces
covering 20% of the log
.
Usage
trace_explorer(
log,
coverage = NULL,
n_traces = NULL,
type = c("frequent", "infrequent"),
coverage_labels = c("relative", "absolute", "cumulative"),
abbreviate = TRUE,
show_labels = TRUE,
label_size = 3,
scale_fill = bupaR::scale_fill_discrete_bupaR,
raw_data = FALSE,
plotly = FALSE,
eventlog = deprecated(),
.abbreviate = deprecated()
)
## S3 method for class 'eventlog'
trace_explorer(
log,
coverage = NULL,
n_traces = NULL,
type = c("frequent", "infrequent"),
coverage_labels = c("relative", "absolute", "cumulative"),
abbreviate = TRUE,
show_labels = TRUE,
label_size = 3,
scale_fill = bupaR::scale_fill_discrete_bupaR,
raw_data = FALSE,
plotly = FALSE,
eventlog = deprecated(),
.abbreviate = deprecated()
)
## S3 method for class 'activitylog'
trace_explorer(
log,
coverage = NULL,
n_traces = NULL,
type = c("frequent", "infrequent"),
coverage_labels = c("relative", "absolute", "cumulative"),
abbreviate = TRUE,
show_labels = TRUE,
label_size = 3,
scale_fill = bupaR::scale_fill_discrete_bupaR,
raw_data = FALSE,
plotly = FALSE,
eventlog = deprecated(),
.abbreviate = deprecated()
)
Arguments
log |
|
coverage |
|
n_traces |
|
type |
|
coverage_labels |
|
abbreviate |
|
show_labels |
|
label_size |
|
scale_fill |
|
raw_data |
|
plotly |
|
eventlog |
|
.abbreviate |
Methods (by class)
-
trace_explorer(eventlog)
: Trace explorer for aneventlog
. -
trace_explorer(activitylog)
: Trace explorer for anactivitylog
.
Examples
library(processmapR)
library(eventdataR)
patients %>%
trace_explorer(coverage = 0.8)