Learn R Programming

simPop (version 0.2.9)

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.

Methods

A show (print) method of class "dataObj" is implemented.

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