sdcTable (version 0.20.5)

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

Description

query dimVar-objects depending on argument type

Usage

get.dimVar(object, type)

## S3 method for class 'dimVar,character': 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 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'