powered by
Remove columns with DTS in the suffix of the column name
removeColsWithDTSSuffix(df)
A data frame to be altered
The input data frame with DTS suffix columns removed
http://healthcareai-r.readthedocs.io
healthcareai
# NOT RUN { df <- data.frame(testDTS=c(1,2,3),b=c('Y','N',NA),c=c(NA,'Y','N')) dfResult <- removeColsWithDTSSuffix(df) head(dfResult) # }
Run the code above in your browser using DataLab