powered by
Function detecting violations of the value range, i.e. values outside the range of tolerable values
detect_value_range_violations(activitylog, ..., details, filter_condition)
activitylog containing the rows of the original activity log for which the provided value range is violated
The activity log
Define domain range using domain_numeric, domain_categorical and/or domain_time for each column
Boolean indicating wheter details of the results need to be shown
Condition that is used to extract a subset of the activity log prior to the application of the function
domain_categorical,domain_time,domain_numeric
domain_categorical
domain_time
domain_numeric
# \donttest{ data("hospital_actlog") detect_value_range_violations(activitylog = hospital_actlog, triagecode = domain_numeric(from = 0, to = 5)) # }
Run the code above in your browser using DataLab