Re: [R] Merging data tables

2012-12-28 Thread Ian Fellows
It is also possible to construct the r call in the GUI. See: http://www.deducer.org/pmwiki/index.php?n=Main.MergeData Ian Sent from my iPhone On Dec 28, 2012, at 4:41 AM, Djordje Bajic wrote: > see ?merge, > > for your dataframes, the following should work: > > merge(bat_activity, weathe

Re: [R] Merging data tables

2012-12-28 Thread arun
: arun Sent: Friday, December 28, 2012 9:19 AM Subject: Re: [R] Merging data tables Hi, I was able to get the merge to work OK, I think... Bats_weather<-merge(sewage.Wind_Temp.temp,Tabr_all2.temp,by.x="row.names",by.y="row.names",incomparables = NA,all.x =

Re: [R] Merging data tables

2012-12-28 Thread arun
lps. A.K. - Original Message - From: Neotropical bat risk assessments To: r-help@r-project.org; dedu...@googlegroups.com Cc: Sent: Friday, December 28, 2012 6:46 AM Subject: [R] Merging data tables Hi all, I am trying to merge several data sets and end up with a long data format by

Re: [R] Merging data tables

2012-12-28 Thread Djordje Bajic
see ?merge, for your dataframes, the following should work: merge(bat_activity, weather, by=c(date, time), all=T) 2012/12/28 Neotropical bat risk assessments > Hi all, > > I am trying to merge several data sets and end up with a long data > format by date & time so I can run correlations and

[R] Merging data tables

2012-12-28 Thread Neotropical bat risk assessments
Hi all, I am trying to merge several data sets and end up with a long data format by date & time so I can run correlations and plots. I am using Deducer as an R GUI but can just use the R console if easier. The data sets are weather with wind speed, relative humidity and temperatures by date