update_col_with_diff | R Documentation |
update_col_with_diff() is an Update function that edits an object, while preserving core object attributes. Specifically, this function implements an algorithm to update column with difference. The function is called for its side effects and does not return a value.
update_col_with_diff(
ds_tb,
var_nm_1L_chr,
fn,
abs_mean_diff_1L_dbl,
diff_sd_1L_dbl,
multiplier_1L_dbl,
min_1L_dbl,
max_1L_dbl,
integer_1L_lgl
)
ds_tb |
Dataset (a tibble) |
var_nm_1L_chr |
Variable name (a character vector of length one) |
fn |
Function (a function) |
abs_mean_diff_1L_dbl |
Absolute mean difference (a double vector of length one) |
diff_sd_1L_dbl |
Difference standard deviation (a double vector of length one) |
multiplier_1L_dbl |
Multiplier (a double vector of length one) |
min_1L_dbl |
Minimum (a double vector of length one) |
max_1L_dbl |
Maximum (a double vector of length one) |
integer_1L_lgl |
Integer (a logical vector of length one) |
New (a dataset)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.