Description Usage Arguments Value Examples
ExtractNames
returns a character
vector with the root names of the
input parameter.
This function is thought to be applied on those variable names with suffixes containing
underscores (_) and qualifier values. It takes as input parameter NamesVector
a character
vector with the names of possibly several variables and extracts their root names dropping out
every suffix. The returned variable root names must have an exact correspondence with the
variable names (column "Variable") of class DD.
1 | ExtractNames(NamesVector)
|
NamesVector |
|
Character
vector of the same length as the input parameter NamesVector
with
the corresponding root names of each variable name.
1 2 3 4 5 | ExtractNames(c('ICMCifraNeg', 'ICMEmpleo_1.', 'ICMEmpleo_2.1', 'ICMEmpleo_2.2'))
ExtractNames(c('IASSCifraNeg.x', 'IASSCifraNeg.y'))
ExtractNames(c('ICMCifraNeg.x', 'ICMEmpleo_1..x', 'ICMEmpleo_2.1.x', 'ICMEmpleo_2.2.x',
'ICMCifraNeg.y', 'ICMEmpleo_1..y', 'ICMEmpleo_2.1.y', 'ICMEmpleo_2.2.y'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.