[Rd] printCoefmat() with all-zero first column (PR#13677)

tlumley at u.washington.edu tlumley at u.washington.edu
Sat Apr 25 19:00:14 CEST 2009


> m<-matrix(c(0,1),ncol=2)
> printCoefmat(m)
      [,1] [,2]
[1,]  NaN    1
Warning messages:
1: In min(x) : no non-missing arguments to min; returning Inf
2: In max(x) : no non-missing arguments to max; returning -Inf
3: In log(c(Inf, -Inf), 10) : NaNs produced

> sessionInfo()
R version 2.9.0 beta (2009-04-08 r48309)
i386-apple-darwin9.6.0

locale:
en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base


Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle



More information about the R-devel mailing list