-
Notifications
You must be signed in to change notification settings - Fork 0
/
make_cst_efcn_smry.Rd
53 lines (42 loc) · 1.91 KB
/
make_cst_efcn_smry.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fn_make.R
\name{make_cst_efcn_smry}
\alias{make_cst_efcn_smry}
\title{Make cost effectiveness summary}
\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{
\item{ds_tb}{Dataset (a tibble)}
\item{indcs_int}{Indices (an integer vector)}
\item{change_types_chr}{Change types (a character vector), Default: 'dbl'}
\item{benefits_pfx_1L_chr}{Benefits prefix (a character vector of length one), Default: 'qalys_dbl'}
\item{benefits_var_nm_1L_chr}{Benefits variable name (a character vector of length one), Default: 'qalys'}
\item{costs_pfx_1L_chr}{Costs prefix (a character vector of length one), Default: 'costs_dbl'}
\item{costs_var_nm_1L_chr}{Costs variable name (a character vector of length one), Default: 'costs'}
\item{change_sfx_1L_chr}{Change suffix (a character vector of length one), Default: 'change'}
\item{change_vars_chr}{Change variables (a character vector), Default: 'NA'}
\item{cmprsn_groups_chr}{Comparison groups (a character vector), Default: c("Intervention", "Control")}
\item{cmprsn_var_nm_1L_chr}{Comparison variable name (a character vector of length one), Default: 'study_arm_chr'}
\item{round_fup_val_1L_chr}{Round follow-up value (a character vector of length one), Default: 'Follow-up'}
}
\value{
Summary (a double vector)
}
\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).
}
\keyword{internal}