[R] delete a row from a matrix

From: Navarre Sabine <navarre_sabine_at_yahoo.fr>
Date: Wed 13 Jul 2005 - 19:15:21 EST


Hi,
I would like to know if it's possible to delete a rox from a matrix?  

> fig

     [,1] [,2] [,3] [,4]
[1,] 0 1 0.0 0.2
[2,] 0 1 0.2 0.8
[3,] 0 1 0.8 1.0
[4,] 0 1 NA NA
[5,] 0 1 NA NA

I would like to delete the 2 rows with NA!

Thanks  

Sabine                 


        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jul 13 19:18:48 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:37 EST