Merges variable.labels attribute from two surveydata objects

Description

Merges variable labels from two data objects. The labels from dat1 takes precedence.

Usage

1
2
  merge_varlabels(dat1, dat2,
    new_names = union(names(dat1), names(dat2)))

Arguments

dat1

surveydata object

dat2

surveydata object

new_names

A vector with names of the merged varlabels. Defaults to the union of names of dat1 and dat2

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.