write_descv_tbls() is a Write function that writes a file to a specified local directory. Specifically, this function implements an algorithm to write descriptive tables. The function returns Descriptive table (a list).
Usage
write_descv_tbls(
data_tb,
ds_descvs_ls,
predictors_lup,
descv_outp_dir_1L_chr,
consent_1L_chr = "",
consent_indcs_int = 1L,
nbr_of_digits_1L_int = 2,
options_chr = c("Y", "N"),
participation_var_1L_chr = "participation"
)
Arguments
- data_tb
Data (a tibble)
- ds_descvs_ls
Dataset descriptives (a list)
- predictors_lup
Predictors (a lookup table)
- descv_outp_dir_1L_chr
Descriptive output directory (a character vector of length one)
- consent_1L_chr
Consent (a character vector of length one), Default: ”
- consent_indcs_int
Consent indices (an integer vector), Default: 1
- nbr_of_digits_1L_int
Number of digits (an integer vector of length one), Default: 2
- options_chr
Options (a character vector), Default: c("Y", "N")
- participation_var_1L_chr
Participation variable (a character vector of length one), Default: 'participation'