Learn R Programming

sdcTable (version 0.29)

get.dataObj: query dataObj-objects depending on argument type

Description

query dataObj-objects depending on argument type

Usage

get.dataObj(object, type)

# S4 method for dataObj,character get.dataObj(object, type)

Arguments

object

an object of class dataObj

type

a character vector of length 1 defining what to calculate|return|modify. Allowed types are:

Value

information from objects of class dataObj depending on argument type

  • a list if argument type matches 'rawData'

  • numeric vector if argument type matches 'dimVarInd', 'freqVarInd', 'numVarInd', 'weightVarInd' or 'sampWeightInd'

  • character vector if argument type matches 'numVarNames', 'freqVarName' or 'varName'

  • logical vector of length 1 if argument type matches 'isMicroData'