ppss function

PPS systematic sampling

PPS systematic sampling

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

ppss(sizes,n)

Arguments

  • sizes: A vector of the sizes of the units in the population
  • n: The sample size

Returns

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

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) sampleindices <- ppss(sizes,4)
  • Maintainer: Jack G. Gambino
  • License: GPL (>= 2)
  • Last published: 2021-01-17

Useful links