Description Usage Arguments Value
Add row to dataframe, or remove it if it already exists
1 | add_if_unique(original, append, x, y)
|
original |
The input dataframe |
append |
A dataframe containing the same columns as 'original' and 1 row |
x |
Column containing the x-values |
y |
Column containing the y-values |
If the row in 'append' exists in 'original' it will be removed, otherwise it will be added to the dataframe that is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.