View source: R/detect_time_anomalies.R
detect_time_anomalies | R Documentation |
Function detecting time anomalies, which can refer to activities with negative or zero duration
detect_time_anomalies( activitylog, anomaly_type = c("both", "negative", "zero"), details = TRUE, filter_condition = NULL )
activitylog |
The activity log |
anomaly_type |
Type of anomalies that need to be detected (either "negative", "zero" or "both") |
details |
Boolean indicating wheter details of the results need to be shown |
filter_condition |
Condition that is used to extract a subset of the activity log prior to the application of the function |
activitylog containing the rows of the original activity log for which a negative or zero duration is detected, together with the duration value and whether it constitutes a zero or negative duration
data("hospital_actlog") detect_time_anomalies(activitylog = hospital_actlog)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.