View source: R/trace_explorer.R
trace_explorer | R Documentation |
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
.
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()
)
log |
|
coverage |
|
n_traces |
|
type |
|
coverage_labels |
|
abbreviate |
|
show_labels |
|
label_size |
|
scale_fill |
|
raw_data |
|
plotly |
|
eventlog |
|
.abbreviate |
trace_explorer(eventlog)
: Trace explorer for an eventlog
.
trace_explorer(activitylog)
: Trace explorer for an activitylog
.
library(processmapR)
library(eventdataR)
patients %>%
trace_explorer(coverage = 0.8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.