Learn R Programming

simPop (version 2.1.3)

dataObj-class: Class "dataObj"

Description

Objects of this class contain information on a population or survey.

Arguments

Objects from the Class

Objects can be created by calls of the form new("dataObj", ...) but are usually automatically created when using simStructure.

Author

Bernhard Meindl and Matthias Templ

See Also

simPopObj

Examples

Run this code
showClass("dataObj")

## show method, generate an object of class dataObj first
data(eusilcS)
inp <- specifyInput(data=eusilcS, hhid="db030", weight="rb050", strata="db040")
## shows some basic information:
inp

Run the code above in your browser using DataLab