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.

______________________________________________
R-help@r-project.org 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.

Reply via email to