getStratumValues-methods {simFrame}R Documentation

Methods for Function getStratumValues

Description

Get the stratum number for each observation of a data set.

Methods

x = "data.frame", design = "BasicVector", split = "list"
get the stratum number for each observation, according to the variables specified by design. A previously computed list in which each list element contains the indices of the observations belonging to the corresponding stratum (as returned by getStrataSplit) speeds things up a bit.
x = "data.frame", design = "BasicVector", split = "missing"
get the stratum number for each observation, according to the variables specified by design.

Author(s)

Andreas Alfons, alfons@statistik.tuwien.ac.at

See Also

getStratumValues, getStrataSplit


[Package simFrame version 0.1.1 Index]