Learn R Programming

StratifiedSampling (version 0.4.1)

sfromq: s from q

Description

This function finds sample s form the matrix q.

Usage

sfromq(q)

Value

A vector with elements equal to 0 or 1. The value 1 indicates that the unit is selected while the value 0 is for rejected units.

Arguments

q

A matrix that is computed from the function qfromw.

Author

Raphaël Jauslin raphael.jauslin@unine.ch

Details

More details could be find in Tille (2006).

References

Tille, Y. (2006), Sampling Algorithms, springer