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

reclass(x, result, ...)

# S3 method for class 'eyetrackingR_df'
reclass(x, result, ...)

Arguments

x

The original object, class information 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.

The result, now with class/attribute information restored.

Methods (by class)

  • reclass(eyetrackingR_df): Add the original class/attributes back onto result (usually of dplyr operation)