acc_distributions: Function to plot histograms added by empirical cumulative...

View source: R/acc_distributions.R

acc_distributionsR Documentation

Function to plot histograms added by empirical cumulative distributions for subgroups

Description

Function to identify inadmissible measurements according to hard limits (multiple variables)

Usage

acc_distributions(
  resp_vars = NULL,
  label_col,
  group_vars = NULL,
  study_data,
  meta_data
)

Arguments

resp_vars

variable list the names of the measurement variables

label_col

variable attribute the name of the column in the metadata with labels of 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

meta_data

data.frame the data frame that contains metadata attributes of study data

Value

A list with:

  • SummaryPlots: list of ggplots for each response variable in resp_vars.

ALGORITHM OF THIS IMPLEMENTATION:

  • Select all variables of type float or integer in the study data

  • Remove missing codes from the study data (if defined in the metadata)

  • Remove measurements deviating from limits defined in the metadata

  • Plot histograms

    • If group_vars is specified by the user, distributions within group-wise ecdf are presented.

See Also

Online Documentation


dataquieR documentation built on Nov. 16, 2022, 5:10 p.m.