causal_custom: Custom map profile

View source: R/causal_custom.R

causal_customR Documentation

Custom map profile

Description

Function to create a custom map profile based on some event log attribute.

Usage

causal_custom(
  FUN = mean,
  attribute,
  units = "",
  color_scale = "RdPu",
  color_edges = "red4",
  ...
)

Arguments

FUN

A summary function to be called on the process time of a specific activity, e.g. mean, median, min, max

attribute

The name of the case attribute to visualize (should be numeric)

units

Character to be placed after values (e.g. EUR for monetary euro values)

color_scale

Name of color scale to be used for nodes. Defaults to RdPu See Rcolorbrewer::brewer.pal.info() for all options.

color_edges

The color used for edges. Defaults to red4.

...

Additional arguments forwarded to FUN

Details

If used for edges, it will show the attribute values which related to the out-going node of the edge.

Examples

causal_net(L_heur_1,
           type_nodes = causal_custom(attribute = "timestamp"),
           type_edges = causal_custom(attribute = "timestamp"))


heuristicsmineR documentation built on April 4, 2023, 5:11 p.m.