[R] tests for NULL objects

Benilton Carvalho bcarvalh at jhsph.edu
Wed Nov 29 23:20:41 CET 2006


Hi Everyone,

After searching the subject and not being successful, I was wondering  
if any you could explain me the idea behind the following fact:

all(NULL == 2)  ## TRUE
any(NULL == 2) ## FALSE

Thanks a lot,

Benilton

--
Benilton Carvalho
PhD Candidate
Department of Biostatistics
Johns Hopkins University



More information about the R-help mailing list