pullOneValue: Pull one set of values from variables included in data which are thought to include essentially the same information.
Description
When some part of the data is missing, the missing information may be recovered from another source of information. This function scans all variables which are thought to include essentially the same information, and pulls value from a variable which is not missing.
a character vector of variable list which is assumed to contain the same information.
check
a logical value specifying whether to scan all variables in varlist for incompatible values or not.
choose
a character value specifying which to choose among incompatible values. To choose first or last depends on the order of the data. lower and upper cannot be used for character variables. This option works only when check option is enabled (set to TRUE).
Value
a vector including one set of values obtained from varlist.