Learn R Programming

trackdf (version 0.3.3)

.reclass: Maintain Class After Modification

Description

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

Usage

.reclass(x, result)

Value

result, now with class/attributes restored.

Arguments

x

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

result

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

Author

Simon Garnier, garnier@njit.edu