Learn R Programming

yamlet (version 1.2.1)

reconcile.list: Reconcile Atttributes of List Members

Description

Reconciles attributes of list members. Recursively arbitrates list members pairwise, returning the accumulated attributes.

Usage

# S3 method for list
reconcile(x, ...)

Value

list (of attributes)

Arguments

x

list

...

passed arguments

Examples

Run this code
library(magrittr)
library(dplyr)
a <- data.frame(study = 1) %>% decorate('study: [Study, [A: 1]]')
b <- data.frame(study = 2) %>% decorate('study: [Study, [B: 2]]')
bind_rows(a, b) %>% decorations
c(a$study, b$study)
reconcile(list(a$study, b$study))

Run the code above in your browser using DataLab