Skip to contents

make_input_params() is a Make function that creates a new R object. Specifically, this function implements an algorithm to make input parameters. The function returns Parameters (a list of lists).

Usage

make_input_params(
  ds_tb,
  ds_descvs_ls,
  header_yaml_args_ls,
  maui_params_ls,
  predictors_lup,
  consent_1L_chr = "",
  consent_indcs_int = 1L,
  control_ls = NULL,
  dv_ds_nm_and_url_chr = NULL,
  iters_1L_int = 4000L,
  mdl_smry_ls = make_mdl_smry_ls(),
  options_chr = c("Y", "N"),
  output_format_ls = make_output_format_ls(),
  path_params_ls = NULL,
  prefd_covars_chr = NULL,
  prefd_mdl_types_chr = NULL,
  prior_ls = NULL,
  seed_1L_int = 12345,
  scndry_anlys_params_ls = NULL,
  write_new_dir_1L_lgl = T
)

Arguments

ds_tb

Dataset (a tibble)

ds_descvs_ls

Dataset descriptives (a list)

header_yaml_args_ls

Header yaml arguments (a list)

maui_params_ls

Multi-attribute utility instrument parameters (a list)

predictors_lup

Predictors (a lookup table)

consent_1L_chr

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

consent_indcs_int

Consent indices (an integer vector), Default: 1

control_ls

Control (a list), Default: NULL

dv_ds_nm_and_url_chr

Dataverse dataset name and url (a character vector), Default: NULL

iters_1L_int

Iterations (an integer vector of length one), Default: 4000

mdl_smry_ls

Model summary (a list), Default: make_mdl_smry_ls()

options_chr

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

output_format_ls

Output format (a list), Default: make_output_format_ls()

path_params_ls

Path parameters (a list), Default: NULL

prefd_covars_chr

Preferred covariates (a character vector), Default: NULL

prefd_mdl_types_chr

Preferred model types (a character vector), Default: NULL

prior_ls

Prior (a list), Default: NULL

seed_1L_int

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

scndry_anlys_params_ls

Secondary analysis parameters (a list), Default: NULL

write_new_dir_1L_lgl

Write new directory (a logical vector of length one), Default: T

Value

Parameters (a list of lists)