validate_variables_param {geeLite} | R Documentation |
Validate and Process Parameters for Variable Selection and Data Processing
Description
Validates and processes input parameters related to variable selection and
data processing in the read_db
function. It ensures that the
variables, frequency, and functions provided are valid, correctly formatted,
and compatible with the available data.
Usage
validate_variables_param(
variables,
variables_all,
prep_fun,
aggr_funs,
postp_funs
)
Arguments
variables |
[mandatory] (character or integer) Variable IDs or names to
be processed. Use |
variables_all |
[mandatory] (data.frame) A data frame containing all
available variables, typically obtained from |
prep_fun |
[mandatory] (function) A function used for pre-processing. |
aggr_funs |
[mandatory] (function or list) Aggregation function(s). |
postp_funs |
[mandatory] (function or list) Post-processing function(s). |
Value
A character vector of variable names to process.