c.haven_labelled_defined {dataset}R 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)

[Package dataset version 0.3.9 Index]