R/99_junk/drop_dupl_cols.R

Defines functions drop_dupl_cols

rm(list=ls())
cat("\014")

drop_dupl_cols <- function(df, duplicate_cols){
  df %>% 
    dplyr::select(-all_of(duplicate_cols))
}
  
  

Try the dataframeexplorer package in your browser

Any scripts or data that you put into this service are public.

dataframeexplorer documentation built on April 4, 2022, 9:05 a.m.