merge.decorated: Merge Decorated

View source: R/merge.R

merge.decoratedR Documentation

Merge Decorated

Description

Preserves class for 'decorated' during merge().

Usage

## S3 method for class 'decorated'
merge(x, y, ...)

Arguments

x

decorated

y

passed to merge

...

passed to merge

Value

class 'decorated' 'data.frame'

See Also

Other decorated: [.decorated(), [<-.decorated(), [[.decorated(), [[<-.decorated(), names<-.decorated()

Examples

library(magrittr)
library(dplyr)
x <- data.frame(foo = 1, bar = 2)
x %<>% decorate('foo: [distance, mm]')
x %<>% decorate('bar: [height, mm]')
class(merge(x,x))

yamlet documentation built on Oct. 6, 2023, 9:07 a.m.