naMean                  package:reb                  R Documentation

_W_r_a_p_p_e_r _f_u_n_c_t_i_o_n _f_o_r _t_h_e _a_r_i_t_h_m_e_t_i_c _m_e_a_n

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

     Simple call to mean with the 'na.rm' option set to TRUE.

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

     naMean(x)

_A_r_g_u_m_e_n_t_s:

       x: An R object

_V_a_l_u_e:

     The arithmetic mean of the values in 'x'.

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

       mean(c(1,2,3,NA),na.rm=TRUE)
       naMean(c(1,2,3,NA))

