Displaying 1 result from an estimated 1 matches for "tchol_f".
2012 Aug 10
1
Direct Method Age-Adjustment to Complex Survey Data
...load.file(
"
ftp://ftp.cdc.gov/pub/Health_Statistics/NCHS/nhanes/2009-2010/demo_f.xpt" ,
tf ,
mode = "wb"
)
NHANES.0910.demographics.df <- read.xport( tf )
tf <- tempfile()
download.file(
"
ftp://ftp.cdc.gov/pub/Health_Statistics/NCHS/nhanes/2009-2010/TCHOL_F.xpt" ,
tf ,
mode = "wb"
)
NHANES.0910.TCHOL_F.df <- read.xport( tf )
############# merge them together, keeping only a few columns
##################
DemoKeepVars <- c( "SEQN" , "WTMEC2YR" , "RIDSTATR" , "SDMVPSU" ,
"SDMVS...