meanrow             package:compositions             R Documentation

_T_h_e _a_r_i_t_h_m_e_t_i_c _m_e_a_n _o_f _r_o_w_s _o_r _c_o_l_u_m_n_s

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

     Computes the arithmetic mean.

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

               mean.row(x,..., na.action=get(getOption("na.action")))
               mean.col(x,..., na.action=get(getOption("na.action")))
               

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

       x: a numeric vector or matrix of data 

     ...: arguments to 'mean' 

na.action: The na.action to be used: one of
          'na.omit','na.fail','na.pass'

_D_e_t_a_i_l_s:

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

     The arithmetic means of the rows (mean.row) or  columns (mean.col)
     of x.

_S_e_e _A_l_s_o:

     'mean.rplus'

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

     data(SimulatedAmounts)
     mean.col(sa.tnormals)
     mean.row(sa.tnormals)

