util_no_value_labels: Select really numeric variables

Description Usage Arguments Value

View source: R/util_no_value_labels.R

Description

Reduce resp_vars to those, which are either float or integer without VALUE_LABELS, i.e. likely numeric but not a factor

Usage

1
util_no_value_labels(resp_vars, meta_data, label_col, warn = TRUE, stop = TRUE)

Arguments

resp_vars

variable list len=1-2. the name of the continuous measurement variable

meta_data

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

label_col

variable attribute the name of the column in the metadata with labels of variables

warn

logical warn about removed variable names

stop

logical stop on no matching resp_var

Value

character vector of matching resp_vars.


dataquieR documentation built on Feb. 26, 2021, 5:08 p.m.