sfromq: s from q

View source: R/RcppExports.R

sfromqR Documentation

s from q

Description

This function finds sample s form the matrix q.

Usage

sfromq(q)

Arguments

q

A matrix that is computed from the function qfromw.

Details

More details could be find in Tille (2006).

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.

Author(s)

Raphaël Jauslin raphael.jauslin@unine.ch

References

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


StratifiedSampling documentation built on Oct. 26, 2022, 5:09 p.m.