thanks Henrique , it did work with a slight modif
subset(merge(X, Y, by.x = 'groups', by.y = 1, all = TRUE), var2http://r.789695.n4.nabble.com/removing-rows-from-a-matrix-using-condition-within-groups-tp3004132p3005899.html
Sent from the R help mailing list archive at Nabble.com.
___
I tired this and seems to capture only a few
--
View this message in context:
http://r.789695.n4.nabble.com/removing-rows-from-a-matrix-using-condition-within-groups-tp3004132p3005894.html
Sent from the R help mailing list archive at Nabble.com.
__
R-
Try this:
subset(merge(X, Y, by.x = 'groups', by.y = 1, all = TRUE), values < V2, -V2)
On Wed, Oct 20, 2010 at 1:37 PM, swam wrote:
>
> I am needing some help in removing certain rows in a data.matrix and then
> do
> some calculation. So Iam need to removing certain values above a threshold
>
3 matches
Mail list logo