Skip to contents

add_qalys_to_ds() 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 quality adjusted life years to dataset. The function returns Dataset (a tibble).

Usage

add_qalys_to_ds(
  ds_tb,
  predn_ds_ls,
  include_predrs_1L_lgl = T,
  reshape_1L_lgl = T
)

Arguments

ds_tb

Dataset (a tibble)

predn_ds_ls

Prediction dataset (a list)

include_predrs_1L_lgl

Include predictors (a logical vector of length one), Default: T

reshape_1L_lgl

Reshape (a logical vector of length one), Default: T

Value

Dataset (a tibble)