Merges variable labels from two data objects. The labels from dat1 takes precedence.
merge_varlabels(dat1, dat2, new_names = union(names(dat1), names(dat2)))
surveydata object
surveydata object
A vector with names of the merged varlabels. Defaults to the union of names of dat1 and dat2