On 5/16/06, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
>
> On Tue, 16 May 2006, Peter Ehlers wrote:
>
> > How is this a bug? From the help page for cbind/rbind:
> >
> > Description
> > Take a sequence of vector, matrix or data frames arguments and
> > combine by _columns_ or _rows_, respectively.
On Tue, 16 May 2006, Peter Ehlers wrote:
> How is this a bug? From the help page for cbind/rbind:
>
> Description
> Take a sequence of vector, matrix or data frames arguments and
> combine by _columns_ or _rows_, respectively.
> (emphasis added)
>
> Note that it does _not_ say "combine by variable
Agreed. Should have checked the help page.
But then it should return an error msg, not try to do something and return
an invalid result.
rafal
PS: perhaps rbind.data.frame should be more forgiving as to the order of
variables, though.
On 5/16/06, Peter Ehlers <[EMAIL PROTECTED]> wrote:
>
> How
How is this a bug? From the help page for cbind/rbind:
Description
Take a sequence of vector, matrix or data frames arguments and
combine by _columns_ or _rows_, respectively.
(emphasis added)
Note that it does _not_ say "combine by variable names".
Peter Ehlers
[EMAIL PROTECTED] wrote:
> Full
Full_Name: Rafal Kustra
Version: 2.1.1
OS: Linux, MacOS 10.3
Submission from: (NULL) (69.195.47.62)
When Rbinding two data frames with factors, strange result occur (but no error)
when the order of data frame variables is different in two data frames:
> d1=as.data.frame(list(x=1:10,y=letters[1:1