r - Delete multiple columns whose names share the same suffix -


i wanted delete columns "no", such digsano, setfano, ... how do it? thank you! data here enter link description here

one way dplyr , functions work inside select:

iris %>% select(-ends_with("width")) 

in case should like:

yourdata %>% select(-ends_with("no")) 

Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -