Re: [R] How to remove columns of table in R recursively

2008-09-29 Thread Patrick Connolly
On Tue, 30-Sep-2008 at 12:37AM +1000, Jason Lee wrote: |> Hi R-list, |> |> I would like to know how to perform any elimination of attribute (column) in |> R. |> |> E.g I have:- |> |> 20,21,22,23,24,25,normal |> 1,2,3,4,5,5,normal |> 0,1,0,2,3,4,abnormal |> ... |> |> I intend to do a checking

[R] How to remove columns of table in R recursively

2008-09-29 Thread Jason Lee
Hi R-list, I would like to know how to perform any elimination of attribute (column) in R. E.g I have:- 20,21,22,23,24,25,normal 1,2,3,4,5,5,normal 0,1,0,2,3,4,abnormal ... I intend to do a checking on each column:- If the column sum of abnormal is 0 but the column sum of normal is nonzero, i