Skip to contents

write_mdls_with_covars_cmprsn() is a Write function that writes a file to a specified local directory. Specifically, this function implements an algorithm to write models with covariates comparison. The function returns Output summary (a list).

Usage

write_mdls_with_covars_cmprsn(
  scored_data_tb,
  bl_tb,
  combinations_1L_lgl = F,
  consent_1L_chr = "",
  consent_indcs_int = 1L,
  depnt_var_min_val_1L_dbl = numeric(0),
  ds_smry_ls,
  existing_predrs_ls = NULL,
  max_nbr_of_covars_1L_int = integer(0),
  mdl_smry_ls,
  options_chr = c("Y", "N"),
  output_data_dir_1L_chr,
  seed_1L_int = 1234,
  session_data_ls = NULL
)

Arguments

scored_data_tb

Scored data (a tibble)

bl_tb

Baseline (a tibble)

combinations_1L_lgl

Combinations (a logical vector of length one), Default: F

consent_1L_chr

Consent (a character vector of length one), Default: ''

consent_indcs_int

Consent indices (an integer vector), Default: 1

depnt_var_min_val_1L_dbl

Dependent variable minimum value (a double vector of length one), Default: numeric(0)

ds_smry_ls

Dataset summary (a list)

existing_predrs_ls

Existing predictors (a list), Default: NULL

max_nbr_of_covars_1L_int

Maximum number of covariates (an integer vector of length one), Default: integer(0)

mdl_smry_ls

Model summary (a list)

options_chr

Options (a character vector), Default: c("Y", "N")

output_data_dir_1L_chr

Output data directory (a character vector of length one)

seed_1L_int

Seed (an integer vector of length one), Default: 1234

session_data_ls

Session data (a list), Default: NULL

Value

Output summary (a list)