Skip to contents

calculate_mean_ri() is a Calculate function that performs a numeric calculation. Specifically, this function implements an algorithm to calculate meanand index. The function returns Meanand Index (a double vector).

Usage

calculate_mean_ri(
  cvdn_results_ls,
  ds_tb,
  fold_id_nm_1L_chr = "Fold",
  id_var_nm_1L_chr = "ID",
  select_from_ls_1L_int = 2L,
  select_from_df_int = c(1L, 4L)
)

Arguments

cvdn_results_ls

Cross-validation results (a list)

ds_tb

Dataset (a tibble)

fold_id_nm_1L_chr

Fold identity name (a character vector of length one), Default: 'Fold'

id_var_nm_1L_chr

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

select_from_ls_1L_int

Select from list (an integer vector of length one), Default: 2

select_from_df_int

Select from data.frame (an integer vector), Default: c(1L, 4L)

Value

Meanand Index (a double vector)