BasicVector-class {simFrame}R Documentation

Class "BasicVector"

Description

Virtual class used internally for convenience.

Objects from the Class

A virtual Class: No objects may be created from it.

Methods

getStrataLegend
signature(x = "data.frame", design = "BasicVector"): get a data.frame describing the strata.
getStrataSplit
signature(x = "data.frame", design = "BasicVector"): get a list in which each element contains the indices of the observations belonging to the corresponding stratum.
getStrataTable
signature(x = "data.frame", design = "BasicVector"): get a data.frame describing the strata and containing the stratum sizes.
getStratumSizes
signature(x = "data.frame", design = "BasicVector"): get the stratum sizes.
getStratumValues
signature(x = "data.frame", design = "BasicVector", split = "missing"): get the stratum number for each observation.
getStratumValues
signature(x = "data.frame", design = "BasicVector", split = "list"): get the stratum number for each observation.
simApply
signature(x = "data.frame", design = "BasicVector", fun = "function"): apply a function to subsets.
simSapply
signature(x = "data.frame", design = "BasicVector", fun = "function"): apply a function to subsets.
stratify
signature(x = "data.frame", design = "BasicVector"): stratify data.

Author(s)

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

Examples

showClass("BasicVector")

[Package simFrame version 0.1.1 Index]