Add the original class/attributes back onto result (usually of dplyr operation)

reclass(x, result, ...)

Arguments

x

The original object, class inforamation you want to restore.

result

Some transformation of x, which may have removed its class/attributes.

...

Ignored

Value

The result, now with class/attribute information restored.