Ted Harding: But you can also do these with 'any' and 'all', e.g. any(v==TRUE).
Thomas Lumley: or any( (v==TRUE)==TRUE), or any( ((v==TRUE)==TRUE)==TRUE)... Or, perhaps, any(v). Lewis Carroll wrote a nice piece on this theme.
-- Ted Harding and Thomas Lumley (about implementing an 'or' of a logical vector)
R-help (August 2004) #Rstats
Conversation
Notices
-
RFortunes (rfortunes)'s status on Tuesday, 23-Apr-2019 10:00:03 CEST RFortunes