Re: [R] problem merging data with different shapes

2011-12-05 Thread Petr PIKAL
Hi > > > I have been trying to merge datasets, one of which has a long format > (Adata) and one has a (different) long format (Bdata): > > Adata Bdata > subject order bpm subject order trial agegroup gender > 1 1 70.21

Re: [R] problem merging data with different shapes

2011-12-04 Thread B77S
Please use dput() to post your example data sets. dput(Adata) dput(Bdata) **then copy and paste the results of each so that we can "play" around with it easily. Miriam -2 wrote > > I have been trying to merge datasets, one of which has a long format > (Adata) and one has a (different) long f

[R] problem merging data with different shapes

2011-12-04 Thread Miriam
I have been trying to merge datasets, one of which has a long format (Adata) and one has a (different) long format (Bdata): Adata Bdata subject order bpm subject order trial agegroup gender 1 1 70.21 1 3 2