View source: R/detect_incorrect_activity_names.R
| detect_incorrect_activity_names | R Documentation |
Function returning the incorrect activity labels in the log as indicated by the user. If details are requested, the entire activity log's rows containing incorrect activities are returned.
detect_incorrect_activity_names( activitylog, allowed_activities, details, filter_condition )
activitylog |
The activity log |
allowed_activities |
Vector with correct activity labels. If NULL, user input will be asked. |
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 having incorrect activity labels
data("hospital_actlog")
detect_incorrect_activity_names(activitylog = hospital_actlog,
allowed_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.