@@ -115,8 +115,10 @@ adjust_DBP <- function(BPMDPBPD) {
115115# ' # Output: 2 (Normal blood pressure as BP is below 140/90 mmHg and not on medication).
116116# '
117117# ' # Vector usage: Multiple respondents
118- # ' determine_hypertension(BPMDPBPS = c(150, 120, 135), BPMDPBPD = c(95, 80, 85),
119- # ' ANYMED2 = c(1, 0, 1), DIABX = c(2, 2, 1))
118+ # ' determine_hypertension(
119+ # ' BPMDPBPS = c(150, 120, 135), BPMDPBPD = c(95, 80, 85),
120+ # ' ANYMED2 = c(1, 0, 1), DIABX = c(2, 2, 1)
121+ # ' )
120122# ' # Returns: c(1, 2, 1)
121123# '
122124# ' @export
@@ -191,8 +193,10 @@ determine_hypertension <- function(BPMDPBPS, BPMDPBPD, ANYMED2, CCC_32 = 2, CARD
191193# ' # Output: 2 (Normal blood pressure as adjusted BP is below 140/90 mmHg and not on medication).
192194# '
193195# ' # Vector usage: Multiple respondents
194- # ' determine_adjusted_hypertension(SBP_adj = c(150, 120, 135), DBP_adj = c(95, 80, 85),
195- # ' ANYMED2 = c(1, 0, 1), DIABX = c(2, 2, 1))
196+ # ' determine_adjusted_hypertension(
197+ # ' SBP_adj = c(150, 120, 135), DBP_adj = c(95, 80, 85),
198+ # ' ANYMED2 = c(1, 0, 1), DIABX = c(2, 2, 1)
199+ # ' )
196200# ' # Returns: c(1, 2, 1)
197201# '
198202# ' @export
@@ -267,8 +271,10 @@ determine_adjusted_hypertension <- function(SBP_adj, DBP_adj, ANYMED2, CCC_32 =
267271# ' # Output: 1 (Hypertension controlled as BP is below 140/90 mmHg and on medication).
268272# '
269273# ' # Vector usage: Multiple respondents
270- # ' determine_controlled_hypertension(BPMDPBPS = c(150, 120, 135), BPMDPBPD = c(95, 80, 85),
271- # ' ANYMED2 = c(1, 1, 1), DIABX = c(2, 2, 1))
274+ # ' determine_controlled_hypertension(
275+ # ' BPMDPBPS = c(150, 120, 135), BPMDPBPD = c(95, 80, 85),
276+ # ' ANYMED2 = c(1, 1, 1), DIABX = c(2, 2, 1)
277+ # ' )
272278# ' # Returns: c(2, 1, 2)
273279# '
274280# ' @export
@@ -346,8 +352,10 @@ determine_controlled_hypertension <- function(BPMDPBPS, BPMDPBPD, ANYMED2, CCC_3
346352# ' # Output: 1 (Hypertension controlled as adjusted BP is below 140/90 mmHg and on medication).
347353# '
348354# ' # Vector usage: Multiple respondents
349- # ' determine_controlled_adjusted_hypertension(SBP_adj = c(150, 120, 135), DBP_adj = c(95, 80, 85),
350- # ' ANYMED2 = c(1, 1, 1), DIABX = c(2, 2, 1))
355+ # ' determine_controlled_adjusted_hypertension(
356+ # ' SBP_adj = c(150, 120, 135), DBP_adj = c(95, 80, 85),
357+ # ' ANYMED2 = c(1, 1, 1), DIABX = c(2, 2, 1)
358+ # ' )
351359# ' # Returns: c(2, 1, 2)
352360# '
353361# ' @export
0 commit comments