| To: | "'Joe Cerniglia'" <cj5815@yahoo.com> |
|---|---|
| Subject: | Re: combining dataframes of different lengths |
| From: | "Pravin" <jadhavpr@vcu.edu> |
| Date: | Tue, 17 Feb 2004 14:38:42 -0500 |
| Cc: | <s-news@wubios.wustl.edu> |
| Importance: | Normal |
| In-reply-to: | <4033E6AB.9060708@pdf.com> |
> data1<-data.frame(x1=1:3,y1=2:4) > data2<-data.frame(x1=1:5,y2=2:6) > data.merged<-merge(data2,data1,all.x=T) > data.merged x1 y2 y1 1 1 2 2 2 2 3 3 3 3 4 4 4 4 5 NA 5 5 6 NA Pravin Pravin Jadhav |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Exact test, Zhan, Ping N. |
|---|---|
| Next by Date: | NLME loop termination, Pravin |
| Previous by Thread: | Re: combining dataframes of different lengths, Sundar Dorai-Raj |
| Next by Thread: | NLME loop termination, Pravin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |