pps1 function

Select one unit with PPS

Select one unit with PPS

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

pps1(sizes)

Arguments

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

Returns

Returns the index of the unit that was selected

Note

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

Examples

sizes <- c(9,2,5,17,4,21,15,7,4,11,23,23,14) sampleindex <- pps1(sizes)
  • Maintainer: Jack G. Gambino
  • License: GPL (>= 2)
  • Last published: 2021-01-17

Useful links