cbind problem (PR#339)

About this list Date view Thread view Subject view Author view Other groups

Subject: cbind problem (PR#339)
thomas@biostat.washington.edu
Date: Wed 24 Nov 1999 - 04:14:23 EST


Message-Id: <199911231814.TAA27174@pubhealth.ku.dk>

Probably related to the rbind problem:

> mm<-matrix(0,2,2)
> nn<-c(1,2)
> cbind(mm,nn)
       nn
[1,] 0 0 1
[2,] 0 0 2
> dimnames(cbind(mm,nn))
[[1]]
NULL

[[2]]
[1] "" "nn" ""

The column names are wrong (though at least no segfault this time)

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:10 EST