Is this what you want: > ES <- 1 > ifelse(length(ES %in% c(1,2,3)) == 0, TRUE, ES %in% c(1,2,3)) [1] TRUE > ES <- 4 > ifelse(length(ES %in% c(1,2,3)) == 0, TRUE, ES %in% c(1,2,3)) [1] FALSE > ES <- NULL > ifelse(length(ES %in% c(1,2,3)) == 0, TRUE, ES %in% c(1,2,3)) [1] TRUE >
On Tue, Apr 29, 2008 at 9:39 PM, Jason Q. McClintic <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Dear List: > > I'm looking for a form of the empty set such that if ES is said > representation, > > ~ ES %in% c(1,2,3) > > evaluates to TRUE. > > Thank you in advance for your assistance. > > Sincerely, > > Jason Q. McClintic > - -- > Jason Q McClintic > UST MB 1945 > 2115 Summit Avenue > St. Paul, MN 55105 > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > "It is insufficient to protect ourselves with laws, we must protect > ourselves with mathematics."--Bruce Schneier > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iQEVAwUBSBfN5hMtGNvij6jtAQgx3gf7Bxmht6ODCjsvhuFPkW1QWC1ey/ygVW9m > uuwNZVCz2hBNDSV2NktaOHe+hl3sEj4gmxv0Q6onf4Opg59o9OQ1EtaeY13S/ouk > EIO2fERY7VQcFbqjr1SnhlXGfyjX5bLk0ipFlqd11R+yXzFxzbafDtfcfKP+sp59 > CQ8uZ2wAshPgrN5ZHIrg8RpBEWUnjH19iS4vDr40IrYyVbFLSnT1XM+D3kaMHgtc > oEi3wldigmSllX8KGVVp7DeXbEvUdrvsJgF1VLG/R8EFlMMHUVE1OD3d8SJ+y9Wh > SuVqWcL+aFXqJvjpQsQaE/2ywk8mis+46EjX1zcYKHPyoIoeqv4OdQ== > =tBx1 > -----END PGP SIGNATURE----- > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem you are trying to solve? ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.