Learn R Programming

sdcTable (version 0.32.2)

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

Description

query dimInfo-objects depending on argument type

Usage

get.dimInfo(object, type)

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

Value

information from objects of class dimInfo depending on argument type

  • a list (or NULL) if argument type matches 'strInfo', 'dimInfo'

  • numeric vector (or NULL) if argument type matches 'posIndex'

  • character vector (or NULL) if argument type matches 'varName' or 'strID'

Arguments

object

an object of class dataObj

type

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

  • strInfo: info on how many digits in the default codes ach dimensional variable allocates

  • dimInfo: a list object with each slot containing an object of class dimVar

  • varName: variable names

  • strID: character vector of ID's defining table cells

  • posIndex vector showing the index of the elements of dimInfo in the underlying data

Author

Bernhard Meindl bernhard.meindl@statistik.gv.at