update_multpl_cols_with_diffs: Update multiplier columns with differences

update_multpl_cols_with_diffsR Documentation

Update multiplier columns with differences

Description

update_multpl_cols_with_diffs() is an Update function that edits an object, while preserving core object attributes. Specifically, this function implements an algorithm to update multiplier columns with differences. The function returns Updated dataset (a tibble).

Usage

update_multpl_cols_with_diffs(
  ds_tb,
  var_nms_chr,
  fns_ls,
  abs_mean_diff_dbl,
  diff_sd_dbl,
  multiplier_dbl,
  min_dbl,
  max_dbl,
  integer_lgl
)

Arguments

ds_tb

Dataset (a tibble)

var_nms_chr

Variable names (a character vector)

fns_ls

Functions (a list)

abs_mean_diff_dbl

Absolute mean difference (a double vector)

diff_sd_dbl

Difference standard deviation (a double vector)

multiplier_dbl

Multiplier (a double vector)

min_dbl

Minimum (a double vector)

max_dbl

Maximum (a double vector)

integer_lgl

Integer (a logical vector)

Value

Updated dataset (a tibble)


ready4-dev/map2aqol documentation built on April 25, 2024, 12:17 p.m.