|
1 | | -#' @title Adjust systolic blood pressure |
| 1 | +#' @title Adjusted systolic blood pressure |
2 | 2 | #' |
3 | 3 | #' @description This function adjusts systolic blood pressure based on the respondent's systolic average blood pressure across |
4 | 4 | #' six measurements. The adjustment is made using specific correction factors. The adjusted systolic blood pressure |
@@ -33,7 +33,7 @@ adjust_SBP <- function(BPMDPBPS) { |
33 | 33 | return(SBP_adj) |
34 | 34 | } |
35 | 35 |
|
36 | | -#' @title Adjust diastolic blood pressure |
| 36 | +#' @title Adjusted diastolic blood pressure |
37 | 37 | #' |
38 | 38 | #' @description This function adjusts diastolic blood pressure based on the respondent's diastolic average blood pressure across |
39 | 39 | #' six measurements. The adjustment is made using specific correction factors. The adjusted diastolic blood pressure |
@@ -68,7 +68,7 @@ adjust_DBP <- function(BPMDPBPD) { |
68 | 68 | return(DBP_adj) |
69 | 69 | } |
70 | 70 |
|
71 | | -#' @title Determine Hypertension Status |
| 71 | +#' @title Hypertension derived variable |
72 | 72 | #' |
73 | 73 | #' @description |
74 | 74 | #' This function determines the hypertension status of a respondent based on their systolic and diastolic blood pressure measurements and medication usage. |
@@ -177,10 +177,10 @@ determine_hypertension <- function(BPMDPBPS, BPMDPBPD, ANYMED2, CCC_32 = 2, CARD |
177 | 177 | return(highBP14090) |
178 | 178 | } |
179 | 179 |
|
180 | | -#' @title Determine Adjusted Hypertension Status |
| 180 | +#' @title Hypertension derived variable with adjusted blood pressures |
181 | 181 | #' |
182 | 182 | #' @description |
183 | | -#' This function determines the adjusted hypertension status of a respondent based on their adjusted systolic and diastolic blood pressure measurements and medication usage. |
| 183 | +#' This function determines the hypertension status of a respondent based on their adjusted systolic and diastolic blood pressure measurements and medication usage. |
184 | 184 | #' |
185 | 185 | #' @param SBP_adj An integer representing the adjusted systolic blood pressure measurement of the respondent. |
186 | 186 | #' @param DBP_adj An integer representing the adjusted diastolic blood pressure measurement of the respondent. |
@@ -286,7 +286,7 @@ determine_adjusted_hypertension <- function(SBP_adj, DBP_adj, ANYMED2, CCC_32 = |
286 | 286 | return(highBP14090_adj) |
287 | 287 | } |
288 | 288 |
|
289 | | -#' @title Determine Controlled Hypertension Status |
| 289 | +#' @title Controlled hypertension derived variable |
290 | 290 | #' |
291 | 291 | #' @description |
292 | 292 | #' This function determines the controlled hypertension status of a respondent based on their systolic and diastolic blood pressure measurements and medication usage. |
@@ -388,10 +388,10 @@ determine_controlled_hypertension <- function(BPMDPBPS, BPMDPBPD, ANYMED2, CCC_3 |
388 | 388 | return(Control14090) |
389 | 389 | } |
390 | 390 |
|
391 | | -#' @title Determine Controlled Adjusted Hypertension Status |
| 391 | +#' @title Controlled hypertension derived variable with adjusted blood pressures |
392 | 392 | #' |
393 | 393 | #' @description |
394 | | -#' This function determines the controlled adjusted hypertension status of a respondent based on their adjusted systolic and diastolic blood pressure measurements and medication usage. |
| 394 | +#' This function determines the controlled hypertension status of a respondent based on their adjusted systolic and diastolic blood pressure measurements and medication usage. |
395 | 395 | #' |
396 | 396 | #' @param SBP_adj An integer representing the adjusted systolic blood pressure measurement of the respondent. |
397 | 397 | #' @param DBP_adj An integer representing the adjusted diastolic blood pressure measurement of the respondent. |
|
0 commit comments