util_prep_proportion_check: Utility function to prepare the metadata for proportion...

View source: R/util_prep_proportion_check.R

util_prep_proportion_checkR Documentation

Utility function to prepare the metadata for proportion checks

Description

Utility function to prepare the metadata for proportion checks

Usage

util_prep_proportion_check(
  resp_vars,
  meta_data,
  study_data,
  report_problems = c("error", "warning", "message")
)

Arguments

resp_vars

variable list the names of the measurement variables

meta_data

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

study_data

data.frame the data frame that contains the measurements (hint: missing value codes should be excluded, so the function should be called with ds1, if available)

report_problems

enum Should missing metadata information be reported as error, warning or message?

Value

a list with the expected range for the proportion check


dataquieR documentation built on July 26, 2023, 6:10 p.m.