reldist-internal           package:reldist           R Documentation

_I_n_t_e_r_n_a_l _r_e_l_d_i_s_t _O_b_j_e_c_t_s

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

     Internal reldist functions.

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

     entropy(x,xo=FALSE)

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

       x: a list with components 'x' and 'y'. The vector 'y' are the
          relative density estimates at the values in the vector 'x'.
          The latter are in the unit interval.

      xo: a list with components 'x' and 'y' like the first argument.
          If given the relative entropy (or Kullback-Liebler
          divergence) of the first to the second argument is
          calculated.

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

     Most of these are not to be called by the user.

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

     If 'xo' is given, the relative entropy (or Kullback-Liebler
     divergence) of the first to the second argument is calculated.
     Otherwise the entropy of the distribution specified by 'x'.

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

     reldist

