simPopObj-class | R Documentation |
"simPopObj"
An object that is used throughout the package containing information on the
sample (in slot sample
), the population (slot pop
) and
optionally some margins in form of a table (slot table
).
Objects are automatically created in
function simStructure
.
Bernhard Meindl and Matthias Templ
dataObj
showClass("simPopObj")
## show method: generate an object of class simPop first
data(eusilcS)
inp <- specifyInput(data=eusilcS, hhid="db030", hhsize="hsize", strata="db040", weight="db090")
eusilcP <- simStructure(data=inp, method="direct", basicHHvars=c("age", "rb090"))
class(eusilcP)
## shows some basic information:
eusilcP
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.