ppss                   package:pps                   R Documentation

_P_P_S _s_y_s_t_e_m_a_t_i_c _s_a_m_p_l_i_n_g

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

     Use PPS systematic sampling to select a sample of n units out of N

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

     ppss(sizes,n)

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

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

       n: The sample size

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

     Returns the indices of the units that were selected in the sample

_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)
     sampleindices <- ppss(sizes,4)

