Learn R Programming

psychmeta (version 2.3.4)

reattribute: Copy class and attributes from the original version of an object to a modified version.

Description

Copy class and attributes from the original version of an object to a modified version.

Usage

reattribute(x, result)

Arguments

x

The original object, which has a class/attributes to copy

result

The modified object, which is / might be missing the class/attributes.

Value

result, now with class/attributes restored.