pps1: Select one unit with PPS

Description Usage Arguments Value Note Examples

View source: R/pps.r

Description

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

Usage

1
pps1(sizes)

Arguments

sizes

A vector of the sizes of the units in the population

Value

Returns the index of the unit that was selected

Note

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

Examples

1
2
sizes <- c(9,2,5,17,4,21,15,7,4,11,23,23,14)
sampleindex <- pps1(sizes)

pps documentation built on Jan. 17, 2021, 9:06 a.m.

Related to pps1 in pps...