| summary-methods {simFrame} | R Documentation |
Methods for producing a summary of an object
Description
Produce a summary an object.
Usage
## S4 method for signature 'SampleSetup'
summary(object)
## S4 method for signature 'SimControl'
summary(object)
## S4 method for signature 'SimResults'
summary(object, ...)
## S4 method for signature 'Strata'
summary(object)
## S4 method for signature 'VirtualContControl'
summary(object)
## S4 method for signature 'VirtualDataControl'
summary(object)
## S4 method for signature 'VirtualNAControl'
summary(object)
## S4 method for signature 'VirtualSampleControl'
summary(object)
Arguments
object |
an object. |
... |
additional arguments to be passed down to methods. |
Value
The form of the resulting object depends on the class of the argument
object. See the “Methods” section below for details.
Methods
signature(x = "SampleSetup")returns an object of class
SummarySampleSetup, which contains information on the size of each of the set up samples.signature(x = "SimControl")currently returns the object itself.
signature(x = "SimResults")produces a summary of the simulation results by calling the method of
summaryfor thedata.framein slotvalues.signature(x = "Strata")returns a
data.framecontaining the size of each stratum.signature(x = "VirtualContControl")currently returns the object itself.
signature(x = "VirtualDataControl")currently returns the object itself.
signature(x = "VirtualNAControl")currently returns the object itself.
signature(x = "VirtualSampleControl")currently returns the object itself.
Author(s)
Andreas Alfons
References
Alfons, A., Templ, M. and Filzmoser, P. (2010) An Object-Oriented Framework for Statistical Simulation: The R Package simFrame. Journal of Statistical Software, 37(3), 1–36. doi: 10.18637/jss.v037.i03.
See Also
summary, "SampleSetup",
"SummarySampleSetup", "SimResults",
"Strata"
Examples
## load data
data(eusilcP)
## class "SampleSetup"
# set up samples using group sampling
set <- setup(eusilcP, grouping = "hid", size = 1000, k = 50)
summary(set)
## class "Strata"
# set up samples using group sampling
strata <- stratify(eusilcP, "region")
summary(strata)