transform_ds_for_mdlng() is a Transform function that edits an object in such a way that core object attributes - e.g. shape, dimensions, elements, type - are altered. Specifically, this function implements an algorithm to transform dataset for modelling. Function argument data_tb specifies the object to be updated. Argument depnt_var_nm_1L_chr provides the object to be updated. The function returns Transformed data (a tibble).
Usage
transform_ds_for_mdlng(
data_tb,
depnt_var_nm_1L_chr = "utl_total_w",
depnt_var_min_val_1L_dbl = numeric(0),
predr_var_nm_1L_chr,
covar_var_nms_chr = NA_character_
)
Arguments
- data_tb
Data (a tibble)
- depnt_var_nm_1L_chr
Dependent variable name (a character vector of length one), Default: 'utl_total_w'
- depnt_var_min_val_1L_dbl
Dependent variable minimum value (a double vector of length one), Default: numeric(0)
- predr_var_nm_1L_chr
Predictor variable name (a character vector of length one)
- covar_var_nms_chr
Covariate variable names (a character vector), Default: 'NA'