sampford: Rao-Sampford sampling

Description Usage Arguments Note

View source: R/sampford.R

Description

Draw a sample by means of Rao-Sampford sampling

Usage

1
sampford(pik, n, N, s, list)

Arguments

pik

vector of first-order inclusion probabilities

n

sample size

N

population size (excluding self-selecting units)

s

vector of length N, with 1s at the positions of self-selecting units

list

vector with positions of self selcting units

Note

this function is a modified version of function UPsampford, in the sampling package.


rhobis/jipApprox documentation built on Sept. 26, 2018, 5:20 p.m.