c.haven_labelled_defined: Combine Values into a defined Vector

View source: R/defined.R

c.haven_labelled_definedR Documentation

Combine Values into a defined Vector

Description

The c() method with the haven_labelled_defined class requires a strict matching of the var_label, unit, definiton, and namespace attributes (if they exist and do not have a NULL value)

Usage

## S3 method for class 'haven_labelled_defined'
c(...)

Arguments

...

objects to be concatenated.

Value

A haven_labelled_defined vector.

See Also

defined()

Examples

a <- defined(1:3, label = "Length", unit = "meter")
b <- defined(4:6, label = "Length", unit = "meter")
c(a, b)

dataset documentation built on June 8, 2025, 10:15 a.m.