Returns a vector of the selected units; its length is equal to the sample size.
Arguments
lambda
vector of working inclusion probabilities or target ones.
type
the type of order sampling (pareto, uniform, exponential).
References
Rosén, B. (1997), Asymptotic theory for order sampling, Journal of Statistical Planning and Inference,
62:135-158.
Rosén, B. (1997), On sampling with probability proportional to size, Journal of Statistical Planning and Inference,
62:159-191.