VarNamesToDD: Return a reduced DD involving the input variable names

Description Usage Arguments Value Examples

View source: R/VarNamesToDD.R

Description

VarNamesToDD returns a DD object including only the variable names specified in the input parameter VarNames.

Usage

1
VarNamesToDD(VarNames, DD)

Arguments

VarNames

Character vector with the compound variable names (IDDD names).

DD

Object of class DD with the definition and properties of the variables.

Value

An object of class DD involving only the compound variable names specified in the input parameter VarNames.

Examples

1
2
3
4
5
6
VarNames <- c('Turnover')
data(ExampleDD)          
VarNamesToDD(VarNames, ExampleDD)
 
VarNames <- c('Turnover', 'Employees', 'NACE09', 'Stocks')
VarNamesToDD(VarNames, ExampleDD)                     

david-salgado/StQ documentation built on Aug. 12, 2021, 3:23 p.m.