attributes_append: Append attributes of the common variables in both source and...

attributes_appendR Documentation

Append attributes of the common variables in both source and target datasets, from the target to the source.

Description

Append attributes of the common variables in both source and target datasets, from the target to the source.

Usage

attributes_append(data1 = data1, data2 = data2)

Arguments

data1

Target dataset.

data2

Source dataset.

Value

The source dataset with attributes of the common variables appended from the target dataset.

Examples

data1 <- read_sav("example1.sav")
data2 <- read_sav("example2.sav")
data1 <- attributes_append(data1 = data1, data2 = data2)

yangx227/SimmonsResearchR documentation built on April 24, 2022, 6:44 a.m.