check_variable_values: Checks if a variable has values within a defined set

Description Usage Arguments Value

Description

Function checks if a variable has values within a defined set and checks the number of NAs.

Usage

1
check_variable_values(x, valMin = NULL, valMax = NULL, valSet = NULL)

Arguments

x

a variable to be checked

valMin

a minimal allowed value, an optional parameter

valMax

a maximal allowed value, an optional parameter

valSet

a set of allowed values, an optional parameter

Value

if errors are detected: a warrning message listing errors and a menu offering an option to stop the program


ZajacT/ASIA1 documentation built on May 30, 2019, 4 p.m.