Simplex                package:rmutil                R Documentation

_S_i_m_p_l_e_x _D_i_s_t_r_i_b_u_t_i_o_n

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

     These functions provide information about the simplex distribution
     with location parameter equal to 'm' and shape equal to 's':
     density, cumulative distribution, quantiles, and random
     generation.

     The simplex distribution has density

  f(y) = exp(-((y-m)/(m(1-m)))^2/(2y(1-y)s))/sqrt(2 pi s(y(1-y))^3)

     where m is the location parameter of the distribution and s is the
     shape, and 0<y<1.

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

     dsimplex(y, m, s, log=FALSE)
     psimplex(q, m, s)
     qsimplex(p, m, s)
     rsimplex(n, m, s)

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

       y: vector of responses.

       q: vector of quantiles.

       p: vector of probabilities

       n: number of values to generate

       m: vector of location parameters.

       s: vector of shape parameters.

     log: if TRUE, log probabilities are supplied.

_A_u_t_h_o_r(_s):

     J.K. Lindsey

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

     'dbeta' for the beta distribution and 'dtwosidedpower' for the
     two-sided power distribution, other distributions for proportions
     between zero and one.

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

     dsimplex(0.3, 0.5, 1)
     psimplex(0.3, 0.5, 1)
     qsimplex(0.1, 0.5, 1)
     rsimplex(10, 0.5, 1)

