Learn R Programming

sdcTable (version 0.10.3)

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

Description

query dimVar-objects depending on argument 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 argumenttypematches 'dims'
    • numeric vector if argumenttypematches 'levels' or 'nrLevels'
    • character vector if argumenttypematches 'codesOriginal', 'codesDefault', 'vName', 'dups', 'dupsUp' or 'minimalCodesDefault'
    • logical vector of length 1 if argumenttypematches 'hasDuplicates'
    • a logical vector if argumenttypematches 'codesMinimal'