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.

References

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


RJauslin/StratifiedSampling documentation built on Feb. 5, 2025, 4:18 a.m.