Remove duplicated columns
Drops duplicated columns from a data.frame (or other list-like object).
unique_columns(df)
df |
a data.frame |
data.frame without duplicated columns
df <- data.frame(a=1:10, b=1:10, c=2:11) unique_columns(df)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.