[BioC] Inconistent behavior with all/any and Rle
Steve Lianoglou
mailinglist.honeypot at gmail.com
Tue Oct 12 17:29:33 CEST 2010
On Tue, Oct 12, 2010 at 12:16 AM, Martin Morgan <mtmorgan at fhcrc.org> wrote:
> On 10/11/2010 07:55 PM, Steve Lianoglou wrote:
<snip>
>> `any` should be more "permissive" than `all`, shouldn't it? But also,
>> maybe a 0 length logical Rle should return something else in these
>> scenarios?
>
> compare with all(logical()) and any(logical()); here's one thread
>
> https://stat.ethz.ch/pipermail/r-devel/2006-January/036041.html
>
> and a link to wikipedia
>
> http://en.wikipedia.org/wiki/Empty_set
>
> where the 'Operations on an empty set' section is relevant. 'all' is
> like product, 'any' like sum, and logical(0) the empty set.
Oh ... ¡theory!
Luckily my former Discrete Math professor doesn't read this mailing list ... :-)
Thanks,
-steve
--
Steve Lianoglou
Graduate Student: Computational Systems Biology
| Memorial Sloan-Kettering Cancer Center
| Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact
More information about the Bioconductor
mailing list