I have some data set which has some values -999.000 & I would like to remove
whole row of this kind of values.
e.g
a<-matrix(c(1,2,3,4,4,5,6,6,-999.99,5,9,-999.00),nrow=4)
a<-
[,1] [,2] [,3]
[1,] 1 4 -999.99
[2,] 2 5 5.00
[3,] 3 6 9.00
[4,] 4 6 -999.00
expected answer
[,1] [,2] [,3]
[1,] 2 5 5.00
[2,] 3 6 9.00
I am new in R & I got stuck with this step.
Uday
--
View this message in context:
http://r.789695.n4.nabble.com/removing-particular-row-from-matrix-tp4407401p4407401.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.