[R] Possible bug in apply()
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Mon Oct 9 01:01:48 CEST 2000
Clive Jenkins <clive.jenkins at clara.net> writes:
> Thanks for confirming this on i586 linux-mandrake R-1.1.1 .
>
> Sorry about the typo: the file is named 'distr.dat', but in the code all
> references to it (except the first) are shown as 'dist.dat'. I re-named
> the file while reducing the example. And yes, I forgot to mention
> load(ctest).
The bug appears to be dead in the development version. (Probably same
bug as the median trouble reported a short while ago.)
> apply(dist.dat, 1, shap)
[,1] [,2]
W 0.8875191054 NA
0.0006219975 NA
(And I also see it in 1.1.1)
--
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
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list