which_conflicts | R Documentation |
data.frame
contain conflictsreturn which rows of a merged data.frame
contain conflicts.
which_conflicts(merged)
merged |
|
integer
vector with row positions containing conflicts.
merge_data
parent <- a <- b <- iris[1:3,]
a[1,1] <- 10
b[2,1] <- 11
# succesful merge
merge_data(parent, a, b)
parent <- a <- b <- iris[1:3,]
a[1,1] <- 10
b[1,1] <- 11
# conflicting merge (both a and b change same cell)
merged <- merge_data(parent, a, b)
merged #note the conflict
#find out which rows contain a conflict
which_conflicts(merged)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.