Skip to contents

make_predn_metadata_ls() is a Make function that creates a new R object. Specifically, this function implements an algorithm to make prediction metadata list. The function returns Prediction metadata (a list).

Usage

make_predn_metadata_ls(
  data_tb,
  cmprsn_groups_chr = NULL,
  cmprsn_var_nm_1L_chr = NULL,
  costs_var_nm_1L_chr = NULL,
  id_var_nm_1L_chr = "UID",
  mdl_meta_data_ls = NULL,
  mdls_lup = NULL,
  mdl_nm_1L_chr = NULL,
  msrmnt_date_var_nm_1L_chr = NULL,
  predr_vars_nms_chr = NULL,
  round_var_nm_1L_chr,
  round_bl_val_1L_chr,
  utl_var_nm_1L_chr = "AQoL6D_HU",
  server_1L_chr = "dataverse.harvard.edu",
  key_1L_chr = NULL
)

Arguments

data_tb

Data (a tibble)

cmprsn_groups_chr

Comparison groups (a character vector), Default: NULL

cmprsn_var_nm_1L_chr

Comparison variable name (a character vector of length one), Default: NULL

costs_var_nm_1L_chr

Costs variable name (a character vector of length one), Default: NULL

id_var_nm_1L_chr

Identity variable name (a character vector of length one), Default: 'UID'

mdl_meta_data_ls

Model meta data (a list), Default: NULL

mdls_lup

Models (a lookup table), Default: NULL

mdl_nm_1L_chr

Model name (a character vector of length one), Default: NULL

msrmnt_date_var_nm_1L_chr

Measurement date variable name (a character vector of length one), Default: NULL

predr_vars_nms_chr

Predictor variables names (a character vector), Default: NULL

round_var_nm_1L_chr

Round variable name (a character vector of length one)

round_bl_val_1L_chr

Round baseline value (a character vector of length one)

utl_var_nm_1L_chr

Utility variable name (a character vector of length one), Default: 'AQoL6D_HU'

server_1L_chr

Server (a character vector of length one), Default: 'dataverse.harvard.edu'

key_1L_chr

Key (a character vector of length one), Default: NULL

Value

Prediction metadata (a list)