Description Usage Arguments Details Value Note Author(s)
Unify duplicated columns.
1 | clean_merged_table(df_merged, keep = c("x", "y"))
|
df_merged |
dataset with duplicated columns |
keep |
argument that indicate if you want to get .x variables or .y variables |
This function allows you after merging datasets, unify duplicated columns (this is the extension .x and .y)
"This function returns different results based on keep
argument:"
If keep = "x"
return the dataset with the no duplicated variables and the duplicated old variables without the extension .x
If keep = "y"
return the dataset with the no duplicated variables and the duplicated new variables without the extension .y
If there is no duplicated variables will show an string message.
Eduardo Trujillo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.