[R] R: extracting elements in a matrix

From: Frank Schmid <frank.schmid_at_vwi.unibe.ch>
Date: Thu 22 Sep 2005 - 19:23:10 EST


Dear R-users  

For a given matrix of dimension, say (n,p), I'd like to extract for every column those elements that are bigger than twice the interquartile range of the corresponding column.  

Can I get these elements without using a loop?    

Thank you for your help    

Frank                                  

        [[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 Thu Sep 22 19:27:11 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:25 EST