ddi_catgry {rddi} | R Documentation |
catgry, catgryGrp and their child nodes
Description
catgry
is a description of a particular categorical response.
ddi_catgryGrp()
groups the responses together. More information on these
elements, especially their allowed attributes, can be found in the references.
Usage
ddi_catgry(...)
ddi_catgryGrp(...)
ddi_catStat(...)
ddi_catValu(...)
Arguments
... |
Child nodes or attributes. |
Details
Parent nodes
catgry
and catgryGrp
is contained in var
.
catgry and catgryGrp specific child nodes
-
ddi_catStat()
is a category level statistic. May include frequencies, percentages, or crosstabulation results. The attribute "type" indicates the type of statistics presented - frequency, percent, or crosstabulation. If a value of "other" is used for this attribute, the "otherType" attribute should take a value from a controlled vocabulary. This option should only be used when applying a controlled vocabulary to this attribute. Use the complex element controlledVocabUsed to identify the controlled vocabulary to which the selected term belongs.
catgry specific child nodes
-
ddi_catValu()
is the category value.
Value
A ddi_node object.
Shared and complex child nodes
References
Examples
ddi_catgry(missing = "Y", missType = "inap")
ddi_catgryGrp(missing = "N")
# Functions that need to be wrapped in ddi_catgry() or ddi_catgryGrp()
ddi_catStat(type = "freq", "256")
# Functions that need to be wrapped in ddi_catgry()
ddi_catValu("9")