[R] stopifnot with logical(0)

peter dalgaard pdalgd at gmail.com
Sat Dec 12 14:44:45 CET 2015


> On 12 Dec 2015, at 10:54 , Martin Maechler <maechler at stat.math.ethz.ch> wrote:
> 
> My conclusion: Breaking such a fundamental lemma of logic as 
>  "the empty set is always true"

Umm, that doesn't make sense to me. Surely you mean that "an AND-operation over an empty index set is TRUE"? A similar OR operation is FALSE, i.e. they behave like empty products and sums, respectively.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list