From tlumley@u.washington.edu  Wed Feb  7 16:00:46 2001
From: tlumley@u.washington.edu (Thomas Lumley)
Date: Wed, 7 Feb 2001 08:00:46 -0800 (PST)
Subject: [Rd] RE: [R] Removing "row.names"
In-Reply-To: <14977.28775.611743.933442@mithrandir.hornik.net>
Message-ID: <Pine.A41.4.21.0102070757370.112748-100000@homer40.u.washington.edu>

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


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