[R] Accessing values of a matrix
statquant
colin.umansky at barcap.com
Fri Feb 19 18:11:37 CET 2010
hello all,
thank you for taking the time
I have a matrix A that have column names (let say n columns), I want to
reduce the matrix to have just a few of those column (p colums, this is
trivial), but for the lines I want only the lines such that A(i,J) is part
of a list (J is fixed and known)
I am sure it is very easy but I don't find it (I tryed which but it doesn't
seem to work)
Surely I could do a loop but I want to learn how to do things without time
consuming loops.
Thanks
Colin
--
View this message in context: http://n4.nabble.com/Accessing-values-of-a-matrix-tp1561932p1561932.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list