NHANES                package:hexbin                R Documentation

_N_H_A_N_E_S _D_a_t_a : _N_a_t_i_o_n_a_l _H_e_a_l_t_h _a_n_d _N_u_t_r_i_t_i_o_n _E_x_a_m_i_n_a_t_i_o_n _S_u_r_v_e_y

_D_e_s_c_r_i_p_t_i_o_n:

     This is a somewhat large interesting dataset, a data frame of 15
     variables (columns) on 9575 persons (rows).

_U_s_a_g_e:

     data(NHANES)

_F_o_r_m_a_t:

     This data frame contains the following columns:

     _C_a_n_c_e_r._I_n_c_i_d_e_n_c_e binary factor with levels 'No' and 'Yes'.

     _C_a_n_c_e_r._D_e_a_t_h binary factor with levels 'No' and 'Yes'.

     _A_g_e numeric vector giving age of the person in years.

     _S_m_o_k_e a factor with levels 'Current', 'Past', 'Nonsmoker', and
          'Unknown'.

     _E_d numeric vector of {0,1} codes giving the education level.

     _R_a_c_e numeric vector of {0,1} codes giving the person's race.

     _W_e_i_g_h_t numeric vector giving the weight in kilograms

     _B_M_I numeric vector giving Body Mass Index, i.e., 'Weight/Height^2'
          where Height is in meters, and missings (61% !) are coded as
          '0' originally.

     _D_i_e_t._I_r_o_n numeric giving Dietary iron.

     _A_l_b_u_m_i_n numeric giving albumin level in g/l.

     _S_e_r_u_m._I_r_o_n numeric giving Serum iron in ug/l.

     _T_I_B_C numeric giving Total Iron Binding Capacity in ug/l.

     _T_r_a_n_s_f_e_r_i_n numeric giving Transferin Saturation which is just
          '100*serum.iron/TIBC'.

     _H_e_m_o_g_l_o_b_i_n numeric giving Hemoglobin level.

     _S_e_x a factor with levels 'F' (female) and 'M' (male).

_S_o_u_r_c_e:

     unknown

_R_e_f_e_r_e_n_c_e_s:

_E_x_a_m_p_l_e_s:

     data(NHANES)
     summary(NHANES)
     ## Missing Data overview :
     nNA <- sapply(NHANES, function(x)sum(is.na(x)))
     cbind(nNA[nNA > 0])
     # Which are just these 6 :
     ## Not run: 
     Diet.Iron         141
     Albumin           252
     Serum.Iron       1008
     TIBC              853
     Transferin       1019
     Hemoglobin        759
     ## End(Not run)

