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 wanted to eliminate this attribute. And so on and so forth observing other
attributes across the list. In the end, I wanted to form information as a
table.

Desired Output:-
21,23,24,25,normal
2,4,5,5,normal
1,2,3,4,abnormal

It is some sort of removing noise from the data.

Appreciate alot. Thanks.

Rgrds,

        [[alternative HTML version deleted]]

______________________________________________
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