View source: R/detect_missing_values.R
detect_missing_values | R Documentation |
Function detecting missing values at different levels of aggregation
overview: presents an overview of the absolute and relative number of missing values for each column
column: presents an overview of the absolute and relative number of missing values for a particular column
activity: presents an overview of the absolute and relative number of missing values for each column, aggregated by activity
detect_missing_values( activitylog, level_of_aggregation, column, details, filter_condition )
activitylog |
The activity log |
level_of_aggregation |
Level of aggregation at which missing values are identified (either "overview", "column" or "activity) |
column |
Column name of the column that needs to be analyzed when the level of aggregation is "column" |
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 which contain a missing value
data("hospital_actlog") detect_missing_values(activitylog = hospital_actlog) detect_missing_values(activitylog = hospital_actlog, level_of_aggregation = "activity") detect_missing_values(activitylog = hospital_actlog, level_of_aggregation = "column", column = "triagecode")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.