Displaying 1 result from an estimated 1 matches for "tp2310929p2310991".
Did you mean:
tp2310929p2310929
2010 Aug 02
3
Using apply for logical conditions
Hi,
I've got some boolean data in a data.frame in the form:
X Y Z A B C
[1] T T F T F F
[2] F T T F F F
.
.
.
What I want to do is create a new column which is the logical disjunction of
several of the columns.
Just like:
new.column <- data$X | data$Y | data$Z
However I don't want to hard code the particular columns into the