View source: R/causal_custom.R
causal_custom | R Documentation |
Function to create a custom map profile based on some event log attribute.
causal_custom(
FUN = mean,
attribute,
units = "",
color_scale = "RdPu",
color_edges = "red4",
...
)
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 |
color_edges |
The color used for edges. Defaults to red4. |
... |
Additional arguments forwarded to FUN |
If used for edges, it will show the attribute values which related to the out-going node of the edge.
causal_net(L_heur_1,
type_nodes = causal_custom(attribute = "timestamp"),
type_edges = causal_custom(attribute = "timestamp"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.