Yules                  package:VGAM                  R Documentation

_Y_u_l_e-_S_i_m_o_n _D_i_s_t_r_i_b_u_t_i_o_n

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

     Density, distribution function, quantile function and random
     generation for the Yule-Simon distribution.

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

     dyules(x, rho, log=FALSE)
     pyules(q, rho)
     ryules(n, rho)

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

    x, q: Vector of quantiles. For the density, it should be a vector
          with positive integer values in order for the probabilities
          to be positive.

       n: number of observations. A single positive integer.

     rho: See 'yulesimon'.

     log: logical; if TRUE, the logarithm is returned. 

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

     See 'yulesimon', the 'VGAM' family function for estimating the
     parameter, for the formula of the probability density function and
     other details.

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

     'dyules' gives the density, 'pyules' gives the distribution
     function, and 'ryules' generates random deviates.

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

     T. W. Yee

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

     'yulesimon'.

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

     dyules(1:20, 2.1)
     ryules(20, 2.1)

     round(1000 * dyules(1:8, 2))
     table(ryules(1000, 2))

     ## Not run: 
     x = 0:6
     plot(x, dyules(x, rho=2.2), type="h", las=1, col="blue")
     ## End(Not run)

