| 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.
Extends
Class "OptBasicVector", directly.
Methods
getStrataLegendsignature(x = "data.frame", design = "BasicVector"): get adata.framedescribing the strata.getStrataSplitsignature(x = "data.frame", design = "BasicVector"): get a list in which each element contains the indices of the observations belonging to the corresponding stratum.getStrataTablesignature(x = "data.frame", design = "BasicVector"): get adata.framedescribing the strata and containing the stratum sizes.getStratumSizessignature(x = "data.frame", design = "BasicVector"): get the stratum sizes.getStratumValuessignature(x = "data.frame", design = "BasicVector", split = "missing"): get the stratum number for each observation.getStratumValuessignature(x = "data.frame", design = "BasicVector", split = "list"): get the stratum number for each observation.simApplysignature(x = "data.frame", design = "BasicVector", fun = "function"): apply a function to subsets.simSapplysignature(x = "data.frame", design = "BasicVector", fun = "function"): apply a function to subsets.stratifysignature(x = "data.frame", design = "BasicVector"): stratify data.
UML class diagram
A slightly simplified UML class diagram of the framework can be found in
Figure 1 of the package vignette An Object-Oriented Framework for
Statistical Simulation: The R Package simFrame. Use
vignette("simFrame-intro") to view this vignette.
Author(s)
Andreas Alfons
Examples
showClass("BasicVector")