nhanes: NHANES data

Description Usage Format Source Examples

Description

nhanes dataset.

Usage

1

Format

A data.frame with 6482 rows and 21 variables:

id

Identification Code (1 - 6482)

gender

Gender (1: Male, 2: Female)

age

Age at Screening (Years)

marstat

Marital Status (1: Married, 2: Widowed, 3: Divorced, 4: Separated, 5: Never Married, 6: Living Together)

samplewt

Statistical Weight (4084.478 - 153810.3)

psu

Pseudo-PSU (1, 2)

strata

Pseudo-Stratum (1 - 15)

tchol

Total Cholesterol (mg/dL)

hdl

HDL-Cholesterol (mg/dL)

sysbp

Systolic Blood Pressure (mm Hg)

dbp

Diastolic Blood Pressure (mm Hg)

wt

Weight (kg)

ht

Standing Height (cm)

bmi

Body mass Index (Kg/m^2)

vigwrk

Vigorous Work Activity (1: Yes, 2: No)

modwrk

Moderate Work Activity (1: Yes, 2: No)

wlkbik

Walk or Bicycle (1: Yes, 2: No)

vigrecexr

Vigorous Recreational Activities (1: Yes, 2: No)

modrecexr

Moderate Recreational Activities (1: Yes, 2: No)

sedmin

Minutes of Sedentary Activity per Week (1: Yes, 2: No)

obese

BMI>35 (1: No, 2: Yes)

Source

Hosmer, D.W., Lemeshow, S. and Sturdivant, R.X. (2013) Applied Logistic Regression, 3rd ed., New York: Wiley

Examples

1
2

Example output

   id gender age         marstat  samplewt psu strata tchol hdl sysbp dbp    wt
1   1   Male  34         Married 80100.544   1      9   135  50   114  88  87.4
2   2   Male  16            <NA> 13953.078   1     10   192  60   112  62  72.3
3   3 Female  60         Widowed 20090.339   2      1   202  45   154  70 116.8
4   4   Male  26         Married 22537.827   1     14   160  45   102  50  97.6
5   5 Female  49 Living Together 74212.270   2     11   259  45   118  82  86.7
6   6   Male  80         Married 11998.401   1      3   182  75   142  62  79.1
7   7   Male  80         Widowed 21806.929   1      5   148  49   126  62  89.6
8   8   Male  17            <NA> 11445.167   1      7   178  66   122  76  74.7
9   9 Female  42         Married 39087.023   2      1   170  35    NA  NA 107.7
10 10   Male  66         Married  9286.357   1      1   217  40   146  68  82.9
      ht   bmi vigwrk modwrk wlkbik vigrecexr modrecexr sedmin obese
1  164.7 32.22     No     No     No        No        No    480    No
2  181.3 22.00     No     No    Yes        No       Yes    240    No
3  166.0 42.39     No     No     No        No        No    240   Yes
4  173.0 32.61     No     No    Yes       Yes        No    720    No
5  168.4 30.57     No     No     No        No        No    240    No
6  174.3 26.04     No    Yes    Yes        No       Yes     60    No
7  180.1 27.62     No    Yes     No        No        No    540    No
8  169.6 25.97     No    Yes     No       Yes       Yes    480    No
9  164.3 39.90     No     No     No        No        No     30   Yes
10 171.3 28.25     No     No     No        No        No     NA    No
       id          gender          age                   marstat    
 Min.   :   1   Male  :3164   Min.   :16.00   Married        :3019  
 1st Qu.:1621   Female:3318   1st Qu.:30.00   Widowed        : 505  
 Median :3242                 Median :46.00   Divorced       : 643  
 Mean   :3242                 Mean   :46.34   Separated      : 195  
 3rd Qu.:4862                 3rd Qu.:62.00   Never Married  :1034  
 Max.   :6482                 Max.   :80.00   Living Together: 457  
                                              NA's           : 629  
    samplewt           psu           strata           tchol      
 Min.   :  4084   Min.   :1.00   Min.   : 1.000   Min.   : 90.0  
 1st Qu.: 16460   1st Qu.:1.00   1st Qu.: 4.000   1st Qu.:162.0  
 Median : 24217   Median :2.00   Median : 7.000   Median :188.0  
 Mean   : 34546   Mean   :1.51   Mean   : 7.225   Mean   :192.1  
 3rd Qu.: 50435   3rd Qu.:2.00   3rd Qu.:11.000   3rd Qu.:218.0  
 Max.   :153810   Max.   :2.00   Max.   :15.000   Max.   :383.0  
                                                  NA's   :395    
      hdl             sysbp          dbp               wt        
 Min.   : 11.00   Min.   : 90   Min.   : 40.00   Min.   : 33.20  
 1st Qu.: 41.00   1st Qu.:110   1st Qu.: 62.00   1st Qu.: 65.90  
 Median : 50.00   Median :120   Median : 70.00   Median : 77.60  
 Mean   : 52.41   Mean   :123   Mean   : 69.59   Mean   : 80.38  
 3rd Qu.: 61.00   3rd Qu.:132   3rd Qu.: 78.00   3rd Qu.: 91.80  
 Max.   :144.00   Max.   :220   Max.   :134.00   Max.   :159.10  
 NA's   :395      NA's   :553   NA's   :594      NA's   :37      
       ht             bmi         vigwrk      modwrk      wlkbik    
 Min.   :123.3   Min.   :13.18   Yes :1131   Yes :2190   Yes :1807  
 1st Qu.:160.0   1st Qu.:23.99   No  :5350   No  :4291   No  :4674  
 Median :166.9   Median :27.68   NA's:   1   NA's:   1   NA's:   1  
 Mean   :167.4   Mean   :28.62                                      
 3rd Qu.:175.0   3rd Qu.:32.15                                      
 Max.   :202.7   Max.   :65.19                                      
 NA's   :37      NA's   :37                                         
 vigrecexr   modrecexr       sedmin       obese     
 Yes :1402   Yes :2493   Min.   :  0.0   No  :5459  
 No  :5079   No  :3987   1st Qu.:180.0   Yes : 986  
 NA's:   1   NA's:   2   Median :300.0   NA's:  37  
                         Mean   :321.1              
                         3rd Qu.:480.0              
                         Max.   :840.0              
                         NA's   :79                 

aplore3 documentation built on May 2, 2019, 8:24 a.m.