sampford: Rao-Sampford sampling

View source: R/sampford.R

sampfordR Documentation

Rao-Sampford sampling

Description

Draw a sample by means of Rao-Sampford sampling

Usage

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.


jipApprox documentation built on Aug. 26, 2023, 9:06 a.m.