Skip to contents

make_predr_vars_nms_ls() is a Make function that creates a new R object. Specifically, this function implements an algorithm to make predictor variables names list. The function returns Predictor variables names (a list).

Usage

make_predr_vars_nms_ls(
  main_predrs_chr,
  covars_ls,
  combinations_1L_lgl = F,
  existing_predrs_ls = NULL,
  max_nbr_of_covars_1L_int = integer(0)
)

Arguments

main_predrs_chr

Main predictors (a character vector)

covars_ls

Covariates (a list)

combinations_1L_lgl

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

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)

Value

Predictor variables names (a list)