geometricmean          package:compositions          R Documentation

_T_h_e _g_e_o_m_e_t_r_i_c _m_e_a_n

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

     Computes the geometric mean.

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

               geometricmean(x,...)
               geometricmean.row(x,...)
               geometricmean.col(x,...)
               
               

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

       x: a numeric vector or matrix of data 

     ...: further arguments to compute the mean 

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

     The geometric mean is defined as:

             geometricmean(x) := 'prod(x)^(1/length(x))'

     The geometric mean is actually computed by
     'exp(mean(log(c(unclass(x))),...))'.

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

     The geometric means of x as a whole (geometricmean), its rows
     (geometricmean.row) or its columns (geometricmean.col).

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

     'mean.rplus'

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

     geometricmean(1:10)

