element of
On Wed, May 07, 2003 at 05:59:23PM +0200, alexander.schnee at tuebingen.mpg.de wrote:
is there any funktion in R which i can use to check if a single value is element of a matrix or data.frame so that it returns me logical values like TRUE/FALSE.
is.element(foo, mymatrix) which is the same as foo %in% mymatrix cu Philipp
Dr. Philipp Pagel Tel. +49-89-3187-3675 Institute for Bioinformatics / MIPS Fax. +49-89-3187-3585 GSF - National Research Center for Environment and Health Ingolstaedter Landstrasse 1 85764 Neuherberg Germany