transform_ds_for_tstng() 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 testing. The function returns Transformed data (a tibble).
Usage
transform_ds_for_tstng(
data_tb,
depnt_var_nm_1L_chr = "aqol6d_total_w",
depnt_var_max_val_1L_dbl = 0.999,
candidate_predrs_chr = NA_character_,
covar_var_nms_chr = NA_character_,
round_var_nm_1L_chr = "round",
round_val_1L_chr = "Baseline",
remove_all_msng_1L_lgl = F
)
Arguments
- data_tb
Data (a tibble)
- depnt_var_nm_1L_chr
Dependent variable name (a character vector of length one), Default: 'aqol6d_total_w'
- depnt_var_max_val_1L_dbl
Dependent variable maximum value (a double vector of length one), Default: 0.999
- candidate_predrs_chr
Candidate predictors (a character vector), Default: 'NA'
- covar_var_nms_chr
Covariate variable names (a character vector), Default: 'NA'
- round_var_nm_1L_chr
Round variable name (a character vector of length one), Default: 'round'
- round_val_1L_chr
Round value (a character vector of length one), Default: 'Baseline'
- remove_all_msng_1L_lgl
Remove all missing (a logical vector of length one), Default: F