add_costs_from_gamma_dstr: Add costs from gamma distribution

add_costs_from_gamma_dstrR Documentation

Add costs from gamma distribution

Description

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).

Usage

add_costs_from_gamma_dstr(
  ds_tb,
  costs_mean_dbl,
  costs_sd_dbl,
  costs_var_nm_1L_chr = "costs_dbl"
)

Arguments

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'

Value

Updated dataset (a tibble)


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