reclass: Copy class and attributes from the original version of an...

Description Usage Arguments Value

View source: R/tbl-metric.R

Description

Copied over from https://github.com/tidyverse/dplyr/issues/719

Usage

1
reclass(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.


ramnathv/tidymetrics documentation built on March 17, 2021, 5:14 p.m.