Skip to content
Prev 31713 / 398506 Next

element of

Do you mean *an* element or *this* element of a matrix?

is.element or %in% for the first
== for the second.

It doesn't really make sense for a data frame, where columns can be of 
arbitrary classes.

I am not sure if I have unscrambled your English correctly: if not a 
simple example of what you want to do would help.  (We don't need examples 
of logical values, though.)
On Wed, 7 May 2003 alexander.schnee at tuebingen.mpg.de wrote:

            
(or possibly NA if there are NAs in the matrix?)