Learn R Programming

simPop (version 2.1.3)

simPopObj-class: Class "simPopObj"

Description

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).

Arguments

Objects from the Class

Objects are automatically created in function simStructure.

Author

Bernhard Meindl and Matthias Templ

See Also

dataObj

Examples

Run this code

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

Run the code above in your browser using DataLab