merge_varlabels: Merges variable.labels attribute from two surveydata objects

Description Usage Arguments

View source: R/merge.R

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


surveydata documentation built on May 29, 2017, 9:07 p.m.

Search within the surveydata package
Search all R packages, documentation and source code