Displaying 1 result from an estimated 1 matches for "lbxtc".
Did you mean:
lartc
2012 Aug 10
1
Direct Method Age-Adjustment to Complex Survey Data
...er, keeping only a few columns
##################
DemoKeepVars <- c( "SEQN" , "WTMEC2YR" , "RIDSTATR" , "SDMVPSU" ,
"SDMVSTRA" , "RIDAGEYR" , "RIAGENDR" , "RIDRETH1" )
TCHOLKeepVars <- c( "SEQN" , "LBXTC" )
x <-
merge(
NHANES.0910.demographics.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 <-...