make_cst_efcn_smry: Make cost effectiveness summary

make_cst_efcn_smryR Documentation

Make cost effectiveness summary

Description

make_cst_efcn_smry() is a Make function that creates a new R object. Specifically, this function implements an algorithm to make cost effectiveness summary. The function returns Summary (a double vector).

Usage

make_cst_efcn_smry(
  ds_tb,
  indcs_int,
  change_types_chr = "dbl",
  benefits_pfx_1L_chr = "qalys_dbl",
  benefits_var_nm_1L_chr = "qalys",
  costs_pfx_1L_chr = "costs_dbl",
  costs_var_nm_1L_chr = "costs",
  change_sfx_1L_chr = "change",
  change_vars_chr = NA_character_,
  cmprsn_groups_chr = c("Intervention", "Control"),
  cmprsn_var_nm_1L_chr = "study_arm_chr",
  round_fup_val_1L_chr = "Follow-up"
)

Arguments

ds_tb

Dataset (a tibble)

indcs_int

Indices (an integer vector)

change_types_chr

Change types (a character vector), Default: 'dbl'

benefits_pfx_1L_chr

Benefits prefix (a character vector of length one), Default: 'qalys_dbl'

benefits_var_nm_1L_chr

Benefits variable name (a character vector of length one), Default: 'qalys'

costs_pfx_1L_chr

Costs prefix (a character vector of length one), Default: 'costs_dbl'

costs_var_nm_1L_chr

Costs variable name (a character vector of length one), Default: 'costs'

change_sfx_1L_chr

Change suffix (a character vector of length one), Default: 'change'

change_vars_chr

Change variables (a character vector), Default: 'NA'

cmprsn_groups_chr

Comparison groups (a character vector), Default: c("Intervention", "Control")

cmprsn_var_nm_1L_chr

Comparison variable name (a character vector of length one), Default: 'study_arm_chr'

round_fup_val_1L_chr

Round follow-up value (a character vector of length one), Default: 'Follow-up'

Value

Summary (a double vector)


ready4-dev/youthu documentation built on April 22, 2024, 9:13 a.m.