acc_distributions_ecdf {dataquieR} | R Documentation |
ECDF plots for distribution checks
Description
Data quality indicator checks "Unexpected location" and "Unexpected proportion" if a grouping variable is included: Plots of empirical cumulative distributions for the subgroups.
Usage
acc_distributions_ecdf(
resp_vars = NULL,
group_vars = NULL,
study_data,
label_col,
item_level = "item_level",
meta_data = item_level,
meta_data_v2,
n_group_max = getOption("dataquieR.max_group_var_levels_in_plot",
dataquieR.max_group_var_levels_in_plot_default),
n_obs_per_group_min = getOption("dataquieR.min_obs_per_group_var_in_plot",
dataquieR.min_obs_per_group_var_in_plot_default)
)
Arguments
resp_vars |
variable list the names of the measurement variables |
group_vars |
variable list the name of the observer, device or reader variable |
study_data |
data.frame the data frame that contains the measurements |
label_col |
variable attribute the name of the column in the metadata with labels of variables |
item_level |
data.frame the data frame that contains metadata attributes of study data |
meta_data |
data.frame old name for |
meta_data_v2 |
character path to workbook like metadata file, see
|
n_group_max |
maximum number of categories to be displayed individually
for the grouping variable ( |
n_obs_per_group_min |
minimum number of data points per group to create
a graph for an individual category of the |
Value
A list with:
-
SummaryPlotList
: list of ggplot2::ggplots for each response variable inresp_vars
.