Description Usage Arguments Value Examples
Merge data sets. Check that each data set being merged has a unique key
| 1 |   merge.unique(x, y, by, ..., check.unique = TRUE)
 | 
| x, | y data frames, or objects to be coerced to one | 
| by | character indicating which column to merge by (and check uniqueness) | 
| check.unique | logical; if TRUE, x and y are checked to see that the column used for merging is unique | 
Merged data set
| 1 2 3 4 | df.non <- data.frame(ppn = c(1L,1L,2L), var1 = seq_len(3))
df.unique <- data.frame(ppn = seq_len(3), var2 = seq_len(3))
merge.unique(df.unique, df.non, by = 'ppn')
# Error: check.unique(y, id = by) is not TRUE
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.