search for: hi_chol

Displaying 1 result from an estimated 1 matches for "hi_chol".

Did you mean: cs_chol
2012 Aug 10
1
Direct Method Age-Adjustment to Complex Survey Data
....df[ , DemoKeepVars ] , NHANES.0910.TCHOL_F.df[ , TCHOLKeepVars ] , all = T ) # keep only individuals who took the "mobile examination" x <- subset( x , RIDSTATR %in% 2 ) # make a few recodes.. x <- transform( x , # high cholesterol HI_CHOL = ifelse( LBXTC >= 240 , 1 , 0 ) , # four race/ethnicity categories race = ifelse( RIDRETH1 %in% 1:2 , 3 , ifelse( RIDRETH1 %in% 3 , 1 , ifelse( RIDRETH1 %in% 4 , 2 , ifelse( RIDRETH1 %in% 5 , 4 , NA ) )...