sampford {pps} | R Documentation |
Use Sampford's method to select a PPS sample of units
sampford(size,n)
size |
A vector of the sizes of the units in the population |
n |
The sample size |
Returns the indices of the units that were selected in the sample
The function sampfordpi
can be used to compute joint inclusion
probabilities for this method.
See the user's guide, pps.pdf, for more information.
size <- c(9,2,5,17,4,21,15,7,4,11,23,23,14) sampleindices <- sampford(size,4)