reclass: Add the original class/attributes back onto result (usually...

View source: R/helpers.R

reclassR Documentation

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

Description

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

Usage

reclass(x, result, ...)

## S3 method for class 'eyetrackingR_df'
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.

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)


eyetrackingR documentation built on Sept. 15, 2023, 5:08 p.m.