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
Post a Comment