Laplace                package:rmutil                R Documentation

_L_a_p_l_a_c_e _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 Laplace distribution
     with location parameter equal to 'm' and dispersion equal to 's':
     density, cumulative distribution, quantiles, log hazard, and
     random generation.

     The Laplace distribution has density

                    f(y) = exp(-abs(y-m)/s)/(2*s)

     where m is the location parameter of the distribution and s is the
     dispersion.

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

     dlaplace(y, m=0, s=1, log=FALSE)
     plaplace(q, m=0, s=1)
     qlaplace(p, m=0, s=1)
     hlaplace(y, m=0, s=1)
     rlaplace(n, m=0, s=1)

_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 dispersion 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:

     'dexp' for the exponential distribution and 'dcauchy' for the
     Cauchy distribution.

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

     dlaplace(5, 2, 1)
     plaplace(5, 2, 1)
     qlaplace(0.95, 2, 1)
     rlaplace(10, 2, 1)

