#use readtable to create data frames of following unzipped files below x.train <- read.table("UCI HAR Dataset/train/X_train.txt") subject.train <- re
I recently ran into this same problem with a different data set. My tidyverse solution to identifying duplicate column names in the dataframe (df) was:
tibble::enframe(names(df)) %>% count(value) %>% filter(n > 1)