process_map: Process Map

View source: R/process_map.R

process_mapR Documentation

Process Map

Description

A function for creating a process map of an event log.

Usage

process_map(
  log,
  type = frequency("absolute"),
  sec = NULL,
  type_nodes = type,
  type_edges = type,
  sec_nodes = sec,
  sec_edges = sec,
  rankdir = "LR",
  render = T,
  fixed_edge_width = F,
  layout = layout_pm(),
  eventlog = deprecated(),
  ...
)

## S3 method for class 'eventlog'
process_map(
  log,
  type = frequency("absolute"),
  sec = NULL,
  type_nodes = type,
  type_edges = type,
  sec_nodes = sec,
  sec_edges = sec,
  rankdir = "LR",
  render = T,
  fixed_edge_width = F,
  layout = layout_pm(),
  eventlog = deprecated(),
  ...
)

## S3 method for class 'grouped_eventlog'
process_map(
  log,
  type = frequency("absolute"),
  sec = NULL,
  type_nodes = type,
  type_edges = type,
  sec_nodes = sec,
  sec_edges = sec,
  rankdir = "LR",
  render = T,
  fixed_edge_width = F,
  layout = layout_pm(),
  eventlog = deprecated(),
  ...
)

## S3 method for class 'activitylog'
process_map(
  log,
  type = frequency("absolute"),
  sec = NULL,
  type_nodes = type,
  type_edges = type,
  sec_nodes = sec,
  sec_edges = sec,
  rankdir = "LR",
  render = T,
  fixed_edge_width = F,
  layout = layout_pm(),
  eventlog = deprecated(),
  ...
)

Arguments

log

log: Object of class log or derivatives (grouped_log, eventlog, activitylog, etc.).

type

A process map type, which can be created with the functions frequency, performance and custom. The first type focusses on the frequency aspect of a process, while the second one focussed on processing time. The third one allows custom attributes to be used.

sec

A secondary process map type. Values are shown between brackets.

type_nodes

A process map type to be used for nodes only, which can be created with the functions frequency and performance. The first type focusses on the frequency aspect of a process, while the second one focussed on processing time.

type_edges

A process map type to be used for edges only, which can be created with the functions frequency and performance. The first type focusses on the frequency aspect of a process, while the second one focussed on processing time.

sec_nodes

A secondary process map type for nodes only.

sec_edges

A secondary process map type for edges only.

rankdir

The direction in which to layout the graph: "LR" (default),"TB", "BT", "RL", corresponding to directed graphs drawn from top to bottom, from left to right, from bottom to top, and from right to left, respectively.

render

Whether the map should be rendered immediately (default), or rather an object of type dgr_graph should be returned.

fixed_edge_width

If TRUE, don't vary the width of edges.

layout

List of parameters influencing the (automatic) layout of the process map. Use layout_pm to create a suitable parameter list.

eventlog

[Deprecated]; please use log instead.

...

Deprecated arguments

Methods (by class)

  • process_map(eventlog): Process map for event log

  • process_map(grouped_eventlog): Process map for event log

  • process_map(activitylog): Process map for activitylog

Examples

## Not run: 
library(eventdataR)
data(patients)
process_map(patients)

## End(Not run)


processmapR documentation built on Sept. 11, 2024, 8:08 p.m.