ppoints                package:stats                R Documentation

_O_r_d_i_n_a_t_e_s _f_o_r _P_r_o_b_a_b_i_l_i_t_y _P_l_o_t_t_i_n_g

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

     Generates the sequence of "probability" points '(1:m - a)/(m +
     (1-a)-a)' where 'm' is either 'n', if 'length(n)==1', or
     'length(n)'.

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

     ppoints(n, a = ifelse(n <= 10, 3/8, 1/2))

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

       n: either the number of points generated or a vector of
          observations.

       a: the offset fraction to be used; typically in (0,1).

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

     If 0 < a < 1, the resulting values are within (0,1) (excluding
     boundaries). In any case, the resulting sequence is symmetric in
     [0,1], i.e., 'p + rev(p) == 1'.

     'ppoints()' is used in 'qqplot' and 'qqnorm' to generate the set
     of probabilities at which to evaluate the inverse distribution.

_R_e_f_e_r_e_n_c_e_s:

     Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) _The New S
     Language_. Wadsworth & Brooks/Cole.

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

     'qqplot', 'qqnorm'.

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

     ppoints(4) # the same as  ppoints(1:4)
     ppoints(10)
     ppoints(10, a=1/2)

