Skip to content
Prev 374716 / 398506 Next

remove rows of a matrix by part of its row name

Dear R-experts,


How can I remove a certain feature or observation by a part of its name. To be clear, I have a matrix with 766 observations as a rows. The row names are like this

70/556
71.1/280
72.1/556
72.1/343
73.1/390
73.1/556
Now I would like to remove all the rows that contain the text 73.1

Any ideas or suggestion please ?


Regards




**********************

Ahmed Serag

Analytical Chemistry Department

Faculty of Pharmacy

Al-Azhar University

Cairo

Egypt