Follow

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

Sign in to participate in the conversation
La Quadrature du Net - Mastodon - Media Fédéré

Mamot.fr est un serveur Mastodon francophone, géré par La Quadrature du Net.