All functions

Covariate_C

A dataset containing survey sampling data (e.g. survey weights, PSUs, strata) and a few select processed demographic and lifestyle variables for NHANES 2003-2004 participant.

Covariate_D

A dataset containing survey sampling data (e.g. survey weights, PSUs, strata) and select processed demographic and lifestyle variables for NHANES 2005-2006 participants.

Flags_C

A dataset containing minute level wear non-wear flags for the NHANES 2003-2004 accelerometry data. The dimension and format of this dataset is the same as PAXINTEN_C except instead of reporting activity counts in the MIN1-MIN1440 columns, we provide a wear/non-wear flag indicator. These wear/non-wear flags were calculated by applying the algorithm described in Troiano et. al (2008) <doi:10.1249/mss.0b013e31815a51b3>.

Flags_D

A dataset containing minute level wear non-wear flags for the NHANES 2005-2006 accelerometry data. The dimension and format of this dataset is the same as PAXINTEN_D except instead of reporting activity counts in the MIN1-MIN1440 columns, we provide a wear/non-wear flag indicator. These wear/non-wear flags were calculated by applying the algorithm described in Troiano et. al (2008) <doi:10.1249/mss.0b013e31815a51b3>.

Mortality_2011_C

A dataset containing processed publicly linked mortality data for NHANES 2003-2004 participants. This data corresponds to the 2011 release of the linked mortality data. As new mortality data is released this data file will be updated.

Mortality_2011_D

A dataset containing processed publicly linked mortality data for NHANES 2005-2006 participants. This data corresponds to the 2011 release of the linked mortality data. As new mortality data is released this data file will be updated.

Mortality_2015_C

A dataset containing processed publicly linked mortality data for NHANES 2003-2004 participants. This data corresponds to the 2015 release of the linked mortality data. As new mortality data is released this data file will be updated.

Mortality_2015_D

A dataset containing processed publicly linked mortality data for NHANES 2005-2006 participants. This data corresponds to the 2015 release of the linked mortality data. As new mortality data is released this data file will be updated.

PAXINTEN_C

A dataset containing minute level accelerometry data reported as "Activity Counts" for NHANES 2003-2004 participants selected for the Mobile Examination Center (MEC) portion of the study.

PAXINTEN_D

A dataset containing minute level accelerometry data reported as "Activity Counts" for NHANES 2003-2004 participants selected for the Mobile Examination Center (MEC) portion of the study.

exclude_accel()

Remove days with too few/too much weartime and NHANES data quality flags.

process_accel()

Process NHANES 2003-2004 and 2005-2006 accelerometry data

process_covar()

Merge non-accelerometry data for NHANES waves

process_flags()

Process wear/non-wear flags for NHANES 2003-2004 and 2005-2006 accelerometry data

process_mort()

Process mortality data for NHANES 2003-2004 and 2005-2006 waves

reweight_accel()

Reweight NHANES accelerometry data

rnhanesdata-package

NHANES data package