[Rd] RE: [R] Removing "row.names"

Thomas Lumley tlumley@u.washington.edu
Wed, 7 Feb 2001 08:00:46 -0800 (PST)


On Wed, 7 Feb 2001, Kurt Hornik wrote:

> Correct.  Let me rephrase the question: how can it be possible to set
> the (variable) names in a data frame to something non-unique?

1) he didn't: there was only one column
2) we allow duplicated column names
 For example
  a<-data.frame(rnorm(10),rnorm(10)) 
 gives a data frame with two columns having the same name. What do you
think they should be called?  
We discussed this some time ago in the context of offsets in glm(), and
model.offset contains code to handle multiple "(offset)" columns.

	-thomas


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._