Type: | Package |
Title: | Performance Spectrum Miner for Event Data |
Version: | 0.1.0 |
Date: | 2022-10-06 |
Description: | Compute detailed and aggregated performance spectrum for event data. The detailed performance spectrum describes the event data in terms of segments, where the performance of each segment is measured and plotted for any occurrences of this segment over time and can be classified, e.g., regarding the overall population. The aggregated performance spectrum visualises the amount of cases of particular performance over time. Denisov, V., Fahland, D., & van der Aalst, W. M. P. (2018) <doi:10.1007/978-3-319-98648-7_9>. |
Depends: | R (≥ 3.5.0) |
License: | MIT + file LICENSE |
Encoding: | UTF-8 |
Imports: | bupaR (≥ 0.5.1), dplyr, data.table, forcats, ggplot2, tidyr, rlang (≥ 1.0.0), cli (≥ 3.2.0), glue, stringi |
RoxygenNote: | 7.2.1 |
URL: | https://bupar.net/, https://github.com/bupaverse/psmineR/, https://bupaverse.github.io/psmineR/ |
Suggests: | knitr, eventdataR, rmarkdown, covr, testthat (≥ 3.1.3) |
BugReports: | https://github.com/bupaverse/psmineR/issues |
Config/testthat/edition: | 3 |
NeedsCompilation: | no |
Packaged: | 2022-10-10 08:59:52 UTC; lucp8407 |
Author: | Greg Van Houdt [aut], Gert Janssenswillen [ctb, cre], Gerard van Hulzen [ctb] |
Maintainer: | Gert Janssenswillen <gert.janssenswillen@uhasselt.be> |
Repository: | CRAN |
Date/Publication: | 2022-10-10 17:00:02 UTC |
Plot Methods
Description
Visualize performance spectrum.
Usage
## S3 method for class 'ps_aggregated'
plot(x, ...)
## S3 method for class 'ps_detailed'
plot(x, ...)
Arguments
x |
Object of class |
... |
Additional variables to pass further. |
Value
A ggplot2
object, which can be customised further.
Aggregated Performance Spectrum
Description
Plots the aggregated performance spectrum. The performance spectrum describes the event data in terms of segments, i.e., pairs of related process steps. The performance of each segment is measured and plotted for any occurrences of this segment over time and can be classified, e.g., regarding the overall population. The aggregated performance spectrum visualises the amount of cases of particular performance over time (Denisov et al., 2018). See References for more details.
Usage
ps_aggregated(
log,
segment_coverage,
n_segments,
classification = NULL,
grouping = c("start", "complete"),
scale = NULL,
bins = 30
)
## S3 method for class 'log'
ps_aggregated(
log,
segment_coverage,
n_segments,
classification = NULL,
grouping = c("start", "complete"),
scale = NULL,
bins = 30
)
## S3 method for class 'grouped_log'
ps_aggregated(
log,
segment_coverage,
n_segments,
classification = NULL,
grouping = c("start", "complete"),
scale = NULL,
bins = NULL
)
Arguments
log |
|
segment_coverage , n_segments |
|
classification |
|
grouping |
|
scale |
|
bins |
|
Value
A ggplot2
object describing the aggregated performance spectrum.
Methods (by class)
-
ps_aggregated(log)
: Plot aggregated performance spectrum for alog
. -
ps_aggregated(grouped_log)
: Plot aggregated performance spectrum for agrouped_log
.
References
Denisov, V., Fahland, D., & van der Aalst, W. M. P. (2018). Unbiased, Fine-Grained Description of Processes Performance from Event Data. In M. Weske, M. Montali, I. Weber, & J. vom Brocke (Eds.), Proceedings of the 16th International Conference on Business Process Management (Vol. 11080, pp. 139–157). Springer International Publishing. doi:10.1007/978-3-319-98648-7_9
See Also
Examples
library(psmineR)
library(eventdataR)
sepsis %>%
ps_aggregated(segment_coverage = 0.2,
classification = "quartile",
grouping = "start",
bins = 15)
Detailed Performance Spectrum
Description
Plots the detailed performance spectrum. The performance spectrum describes the event data in terms of segments, i.e., pairs of related process steps. The performance of each segment is measured and plotted for any occurrences of this segment over time and can be classified, e.g., regarding the overall population. The detailed performance spectrum visualises variability of durations in a segment across cases and time (Denisov et al., 2018). See References for more details.
Usage
ps_detailed(
log,
segment_coverage,
n_segments,
classification = NULL,
scale = NULL
)
## S3 method for class 'log'
ps_detailed(
log,
segment_coverage,
n_segments,
classification = NULL,
scale = NULL
)
## S3 method for class 'grouped_log'
ps_detailed(
log,
segment_coverage,
n_segments,
classification = NULL,
scale = NULL
)
Arguments
log |
|
segment_coverage , n_segments |
|
classification |
|
scale |
|
Value
A ggplot2
object describing the detailed performance spectrum.
Methods (by class)
-
ps_detailed(log)
: Plot detailed performance spectrum for alog
. -
ps_detailed(grouped_log)
: Plot detailed performance spectrum for agrouped_log
.
References
Denisov, V., Fahland, D., & van der Aalst, W. M. P. (2018). Unbiased, Fine-Grained Description of Processes Performance from Event Data. In M. Weske, M. Montali, I. Weber, & J. vom Brocke (Eds.), Proceedings of the 16th International Conference on Business Process Management (Vol. 11080, pp. 139–157). Springer International Publishing. doi:10.1007/978-3-319-98648-7_9
See Also
Examples
library(psmineR)
library(eventdataR)
sepsis %>%
ps_detailed(segment_coverage = 0.2,
classification = "quartile")
psmineR
Description
Performance Spectrum Miner For Event Data
Objects exported from other packages
Description
These objects are imported from other packages. Follow the links below to see their documentation.
- dplyr