[R] remove rows of a matrix by part of its row name

Ahmed Serag Ahmed@er@g777 @ending from hotm@il@com
Tue May 22 12:48:16 CEST 2018


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

	[[alternative HTML version deleted]]



More information about the R-help mailing list