View source: R/detect_incomplete_cases.R
detect_incomplete_cases | R Documentation |
Function detecting incomplete cases in terms of the activities that need to be recorded for a case. The function only checks the presence of activities, not the completeness of the rows describing the activity executions.
detect_incomplete_cases(activitylog, activities, details, filter_condition)
activitylog |
The activity log |
activities |
A vector of activity names which should be present for a case |
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 |
tbl_df providing an overview of the traces (i.e. the activities executed for a particular case) in which the specified activities are not present, together with its occurrence frequency and cases having this trace
data("hospital_actlog") detect_incomplete_cases(activitylog = hospital_actlog, activities = c("Registration","Triage","Clinical exam","Treatment","Treatment evaluation"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.