add_costs_from_gamma_dstr | R Documentation |
add_costs_from_gamma_dstr() is an Add function that updates an object by adding new values to new or empty fields. Specifically, this function implements an algorithm to add costs from gamma distribution. The function returns Updated dataset (a tibble).
add_costs_from_gamma_dstr(
ds_tb,
costs_mean_dbl,
costs_sd_dbl,
costs_var_nm_1L_chr = "costs_dbl"
)
ds_tb |
Dataset (a tibble) |
costs_mean_dbl |
Costs mean (a double vector) |
costs_sd_dbl |
Costs standard deviation (a double vector) |
costs_var_nm_1L_chr |
Costs variable name (a character vector of length one), Default: 'costs_dbl' |
Updated dataset (a tibble)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.