pps1                   package:pps                   R Documentation

_S_e_l_e_c_t _o_n_e _u_n_i_t _w_i_t_h _P_P_S

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

     Use PPS systematic sampling to select a single unit out of N

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

     pps1(sizes)

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

   sizes: A vector of the sizes of the units in the population

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

     Returns the index of the unit that was selected

_N_o_t_e:

     See the user's guide, pps.pdf, for more information.

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

     sizes <- c(9,2,5,17,4,21,15,7,4,11,23,23,14)
     sampleindex <- pps1(sizes)

