Message-ID: <x28y3d8vqo.fsf@turmalin.kubism.ku.dk>
Date: 2005-04-20T12:42:55Z
From: Peter Dalgaard
Subject: if(foo == TRUE) .. etc
In-Reply-To: <16998.19321.721843.366453@stat.math.ethz.ch>
Martin Maechler <maechler at stat.math.ethz.ch> writes:
> 'T' and 'F' instead of 'TRUE' and 'FALSE' -
> which is against all recommendations, since
> F <- TRUE
> T <- FALSE
> are valid statements, probably not common, but think what
> happens when you accidentally have the equivalent of "T <- 0"
> somewhere in your global enviroment!
Or as happened to me recently, slightly paraphrased:
F <- MS/MS_res
pval <- pf(F, f1, f2, lower.tail=F)
(fortunately, R CMD check caught it in time...)
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907