na.action package:stats R Documentation _N_A _A_c_t_i_o_n _D_e_s_c_r_i_p_t_i_o_n: Extract information on the NA action used to create an object. _U_s_a_g_e: na.action(object, ...) _A_r_g_u_m_e_n_t_s: object: any object whose 'NA' action is given. ...: further arguments special methods could require. _D_e_t_a_i_l_s: 'na.action' is a generic function, and 'na.action.default' its default method. The latter extracts the '"na.action"' component of a list if present, otherwise the '"na.action"' attribute. When 'model.frame' is called, it records any information on 'NA' handling in a '"na.action"' attribute. Most model-fitting functions return this as a component of their result. _V_a_l_u_e: Information from the action which was applied to 'object' if 'NA's were handled specially, or 'NULL'. _R_e_f_e_r_e_n_c_e_s: Chambers, J. M. and Hastie, T. J. (1992) _Statistical Models in S._ Wadsworth & Brooks/Cole. _S_e_e _A_l_s_o: 'options("na.action")', 'na.omit', 'na.fail', also for 'na.exclude', 'na.pass'. _E_x_a_m_p_l_e_s: na.action(na.omit(c(1, NA)))