Description Usage Arguments Value Examples
remove duplicates from vector or data frame
1 | remove_duplicates(x, column = 1)
|
x |
vector or data frame to remove duplicates from |
column |
If a data frame is passed in, the column that is used for deduplicating (default = 1) |
A character vector or data frame.
1 2 3 4 5 6 7 | hello_string <- c("h", "e", "l", "l", "o")
hello_string
remove_duplicates(hello_string)
df <- data.frame(hello_string, 1:5)
df
remove_duplicates(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.