Skip to contents

add_imputed_costs() 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 imputed costs. The function returns Data (a tibble).

Usage

add_imputed_costs(
  data_tb,
  arrange_by_1L_chr = character(0),
  cost_var_1L_chr = "Cost",
  provider_id_1L_chr = "ProviderID"
)

Arguments

data_tb

Data (a tibble)

arrange_by_1L_chr

Arrange by (a character vector of length one), Default: character(0)

cost_var_1L_chr

Cost variable (a character vector of length one), Default: 'Cost'

provider_id_1L_chr

Provider identity (a character vector of length one), Default: 'ProviderID'

Value

Data (a tibble)