Learn R Programming

sdcTable (version 0.21.5)

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

Description

query dimVar-objects depending on argument type

Usage

get.dimVar(object, type)
"get.dimVar"(object, type)

Arguments

object
an object of class dimVar
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 'dims'
  • numeric vector if argument type matches 'levels' or 'nrLevels'
  • character vector if argument type matches 'codesOriginal', 'codesDefault', 'vName', 'dups', 'dupsUp' or 'minimalCodesDefault'
  • logical vector of length 1 if argument type matches 'hasDuplicates'
  • a logical vector if argument type matches 'codesMinimal'