The c()
method for defined
vectors ensures that all semantic metadata
(label, unit, concept, namespace, and value labels) match exactly. This
prevents accidental loss or mixing of incompatible definitions during
concatenation.
Usage
# S3 method for class 'haven_labelled_defined'
c(...)
Arguments
- ...
One or more vectors created with
defined()
.
Details
All input vectors must:
Have identical
label
attributesHave identical
unit
,concept
, andnamespace
Have identical value labels (or none)