You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: R/fn_add.R
+31-31Lines changed: 31 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -1,39 +1,39 @@
1
1
#' Add correlations and utilities to Assessment of Quality of Life Six Dimension tibbles
2
-
#' @description add_cors_and_uts_to_aqol6d_tbs_ls() is an Add function that updates an object by adding data to that object. Specifically, this function implements an algorithm to add correlations and utilities to assessment of quality of life six dimension tibbles list. Function argument aqol6d_tbs_ls specifies the object to be updated. The function returns Assessment of Quality of Life Six Dimension tibbles (a list).
2
+
#' @description add_cors_and_utls_to_aqol6d_tbs_ls() is an Add function that updates an object by adding data to that object. Specifically, this function implements an algorithm to add correlations and utilities to assessment of quality of life six dimension tibbles list. Function argument aqol6d_tbs_ls specifies the object to be updated. The function returns Assessment of Quality of Life Six Dimension tibbles (a list).
3
3
#' @param aqol6d_tbs_ls Assessment of Quality of Life Six Dimension tibbles (a list)
4
4
#' @param aqol_scores_pars_ls Assessment of Quality of Life scores parameters (a list)
5
-
#' @param aqol_items_props_tbs_ls Assessment of Quality of Life items props tibbles (a list)
5
+
#' @param aqol_items_prpns_tbs_ls Assessment of Quality of Life items proportions tibbles (a list)
6
6
#' @param temporal_cors_ls Temporal correlations (a list)
7
7
#' @param prefix_chr Prefix (a character vector)
8
-
#' @param aqol_tots_var_nms_chr Assessment of Quality of Life totals var names (a character vector)
9
-
#' @param id_var_nm_1L_chr Id var name (a character vector of length one), Default: 'fkClientID'
8
+
#' @param aqol_tots_var_nms_chr Assessment of Quality of Life totals variable names (a character vector)
9
+
#' @param id_var_nm_1L_chr Identity variable name (a character vector of length one), Default: 'fkClientID'
10
10
#' @return Assessment of Quality of Life Six Dimension tibbles (a list)
#' @description add_interval_var() is an Add function that updates an object by adding data to that object. Specifically, this function implements an algorithm to add interval var. Function argument data_tb specifies the object to be updated. The function returns Updated data (a tibble).
27
+
#' Add interval variable
28
+
#' @description add_interval_var() is an Add function that updates an object by adding data to that object. Specifically, this function implements an algorithm to add interval variable. Function argument data_tb specifies the object to be updated. The function returns Updated data (a tibble).
29
29
#' @param data_tb Data (a tibble)
30
-
#' @param id_var_nm_1L_chr Id var name (a character vector of length one), Default: 'fkClientID'
31
-
#' @param msrmnt_date_var_nm_1L_chr Msrmnt date var name (a character vector of length one), Default: 'd_interview_date'
30
+
#' @param id_var_nm_1L_chr Identity variable name (a character vector of length one), Default: 'fkClientID'
31
+
#' @param msrmnt_date_var_nm_1L_chr Measurement date variable name (a character vector of length one), Default: 'd_interview_date'
32
32
#' @param time_unit_1L_chr Time unit (a character vector of length one), Default: 'days'
33
-
#' @param bl_date_var_nm_1L_chr Bl date var name (a character vector of length one), Default: 'bl_date_dtm'
34
-
#' @param interval_var_nm_1L_chr Interval var name (a character vector of length one), Default: 'interval_dbl'
35
-
#' @param temp_row_nbr_var_nm_1L_chr Temp row nbr var name (a character vector of length one), Default: 'temp_row_nbr_int'
36
-
#' @param drop_bl_date_var PARAM_DESCRIPTION, Default: F
33
+
#' @param bl_date_var_nm_1L_chr Baseline date variable name (a character vector of length one), Default: 'bl_date_dtm'
34
+
#' @param interval_var_nm_1L_chr Interval variable name (a character vector of length one), Default: 'interval_dbl'
35
+
#' @param temp_row_nbr_var_nm_1L_chr Temporary row number variable name (a character vector of length one), Default: 'temp_row_nbr_int'
36
+
#' @param drop_bl_date_var_1L_lgl Drop baseline date variable (a logical vector of length one), Default: F
37
37
#' @return Updated data (a tibble)
38
38
#' @rdname add_interval_var
39
39
#' @export
@@ -44,7 +44,7 @@ add_cors_and_uts_to_aqol6d_tbs_ls <- function (aqol6d_tbs_ls, aqol_scores_pars_l
#' @description add_uids_to_tbs_ls() is an Add function that updates an object by adding data to that object. Specifically, this function implements an algorithm to add unique identifiers to tibbles list. Function argument tbs_ls specifies the object to be updated. The function returns Tibbles (a list).
109
109
#' @param tbs_ls Tibbles (a list)
110
110
#' @param prefix_1L_chr Prefix (a character vector of length one)
111
-
#' @param id_var_nm_1L_chr Id var name (a character vector of length one), Default: 'fkClientID'
111
+
#' @param id_var_nm_1L_chr Identity variable name (a character vector of length one), Default: 'fkClientID'
#' @description add_utility_predn_to_ds() is an Add function that updates an object by adding data to that object. Specifically, this function implements an algorithm to add utility prediction to dataset. Function argument data_tb specifies the object to be updated. The function returns Data (a tibble).
137
137
#' @param data_tb Data (a tibble)
138
-
#' @param model_mdl PARAM_DESCRIPTION
138
+
#' @param model_mdl Model (a model)
139
139
#' @param tfmn_1L_chr Transformation (a character vector of length one)
140
-
#' @param dep_var_nm_1L_chr Dep var name (a character vector of length one)
141
-
#' @param predr_vars_nms_chr Predr vars names (a character vector), Default: NULL
142
-
#' @param force_min_max_1L_lgl Force min max (a logical vector of length one), Default: T
143
-
#' @param utl_min_val_1L_dbl Utl min value (a double vector of length one), Default: 0.03
140
+
#' @param depnt_var_nm_1L_chr Dependent variable name (a character vector of length one)
141
+
#' @param predr_vars_nms_chr Predictor variables names (a character vector), Default: NULL
142
+
#' @param force_min_max_1L_lgl Force minimum maximum (a logical vector of length one), Default: T
143
+
#' @param utl_min_val_1L_dbl Utility minimum value (a double vector of length one), Default: 0.03
144
144
#' @param impute_1L_lgl Impute (a logical vector of length one), Default: T
145
-
#' @param utl_cls_fn Utl class (a function), Default: NULL
146
-
#' @param rmv_tfmd_dep_var_1L_lgl Rmv tfmd dep var (a logical vector of length one), Default: F
145
+
#' @param utl_cls_fn Utility class (a function), Default: NULL
146
+
#' @param rmv_tfd_depnt_var_1L_lgl Remove transformed dependent variable (a logical vector of length one), Default: F
0 commit comments