Description Usage Arguments Value Examples
getVariables
returns all Variable names from the slot DD of the input object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | getVariables(
object,
varSort = c("IDDD", "IDQual", "NonIDQual"),
slots = setdiff(names(object), "VNC")
)
## S4 method for signature 'DD'
getVariables(
object,
varSort = c("IDDD", "IDQual", "NonIDQual"),
slots = setdiff(names(object), "VNC")
)
## S4 method for signature 'StQ'
getVariables(
object,
varSort = c("IDDD", "IDQual", "NonIDQual"),
slots = setdiff(names(getDD(object)), "VNC")
)
## S4 method for signature 'rawStQ'
getVariables(
object,
varSort = c("IDDD", "IDQual", "NonIDQual"),
slots = setdiff(names(getDD(object)), "VNC")
)
|
object |
Object whose Variable names are queried. |
varSort |
Character vector with the Sort of Variables ('IDDD', 'IDQual', 'NonIDQual'). |
slots |
Character vector with the slot names if object class is DD or StQ. |
Returns a character vector with the variable names.
1 2 3 4 | data(ExampleDD)
getVariables(ExampleDD)
getVariables(ExampleDD, varSort = 'IDDD', slots = 'MicroData')
getVariables(ExampleStQ, varSort = 'IDDD', slots = 'Aggregates')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.