resource_map: Resource Map

View source: R/resource_map.R

resource_mapR Documentation

Resource Map

Description

A function for creating a resource map of an event log based on handover of work.

Usage

resource_map(log, type, render, ..., eventlog = deprecated())

## S3 method for class 'eventlog'
resource_map(
  log,
  type = frequency("absolute"),
  render = T,
  ...,
  eventlog = deprecated()
)

## S3 method for class 'activitylog'
resource_map(
  log,
  type = frequency("absolute"),
  render = T,
  ...,
  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 and performance. The first type focusses on the frequency aspect of a process, while the second one focussed on processing time.

render

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

...

Deprecated arguments

eventlog

[Deprecated]; please use log instead.

Methods (by class)

  • resource_map(eventlog): Create resource map for eventlog

  • resource_map(activitylog): Create resource map for activity log

Examples

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

## End(Not run)

processmapR documentation built on April 6, 2023, 5:17 p.m.