merge.decorated | R Documentation |
Preserves class for 'decorated' during merge().
## S3 method for class 'decorated'
merge(x, y, ...)
x |
decorated |
y |
passed to |
... |
passed to |
class 'decorated' 'data.frame'
Other decorated:
[.decorated()
,
[<-.decorated()
,
[[.decorated()
,
[[<-.decorated()
,
names<-.decorated()
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.