search for: merge_all

Displaying 9 results from an estimated 9 matches for "merge_all".

2013 Jan 11
2
Merging list of dataframes with reshape merge_all
Hi, I'd like to merge mutliple dataframes from a list of dataframes by some common columns. The approach for simply merging 2 dataframes is working with: merge(df1,df2,by=c("col1","col2","col3"),all=TRUE) For mutliple dataframes in a list I try to use the merge_all command from the package reshape. The documentation states that the command takes a list of dataframes and other additional argument which are passed on to merge. So I tried (just for the case of two dataframes): merge_all(list(df1,df2),by=c("col1","col2","col3"),all=...
2010 Nov 16
2
help using function merge_all()
Hi, I want to merge 4 data frames with one column in common but I am getting error message while using this function. Can any one help me out. > merge_all(Br,Ki,Lu,Pr,by="Genes") Error: could not find function "merge_all" I have installed the package: reshape but I still get this error -- View this message in context: http://r.789695.n4.nabble.com/help-using-function-merge-all-tp3045173p3045173.html Sent from the R help mailing...
2012 Sep 06
2
merge a list of data frames
...485 0.578 ... $ V2.y: int 0 0 0 0 0 0 0 0 0 0 ... $ V3.y: num 0.47 0.733 0.57 0.416 0.616 ... I don't like the warning and I don't like that I now have to use [n] to access identically named columns, but, I guess, this is better than this: library('reshape') > data.1 <- merge_all(data,by="V1",all=TRUE) Error in merge.data.frame(dfs[[1]], Recall(dfs[-1]), all = TRUE, sort = FALSE, : formal argument "all" matched by multiple actual arguments > data.1 <- merge_all(data,by="V1",sort=TRUE,all=TRUE) Error in merge.data.frame(dfs[[1]], Recal...
2011 Mar 17
3
Flexible rbind
...NA, -9L)) rbind obviously throws the following error: rbind(d, dNewTests) Error in rbind(deparse.level, ...) : numbers of columns of arguments do not match Any way that I can default the missing columns to NA or some default value like zero? Also, I tried to go through the archives and tried merge_all. What am I doing wrong wih the code below ? require(reshape) merge_all(d, dNewTests,by="type") Error in fix.by(by.x, x) : 'by' must specify column(s) as numbers, names or logical Thanks, Santosh
2009 Mar 08
1
Merge 10 data frames with 3 id columns that are common to all data frames
Hi R users, Can anyone share some example code using merge_all (from the reshape package) to merge 10 data frames into 1 file. Thanks in advance for any help! -- View this message in context: http://www.nabble.com/Merge-10-data-frames-with-3-id-columns-that-are-common-to-all-data-frames-tp22402493p22402493.html Sent from the R help mailing list archive at Na...
2012 Apr 11
1
Merging multiple .csv files
...the union of the rows of 24 files. [again, somthing like: merge (.... ,by="Name", all=TRUE) ] On the web, I could see a few ways people seem to merge more than 2 dataframes. I tried to use library (reshape), but it didn't bring any result: file_list <- list.files() m <- merge_all (file_list, by="Name") Any help would be appreciated. Thank you. regards, Chintanu [[alternative HTML version deleted]]
2010 May 07
2
Merge Multiple Datasets
Hi, I've got a bunch of datasets (each has an "ID" column) that I'd like to merge into one big datasets. After a google search I found http://tolstoy.newcastle.edu.au/R/help/05/08/11131.html . However, I'm wondering if there is an easy way to do this as I've got about 12 datasets to be merged (all in the same format: an "ID" column and a "Frequency"
2008 Apr 22
3
how to read in multiple files with unequal number of columns
Dear all, I want to read in 1000 files which contain varying number of columns. For example: file[1] contains 8 columns (mixture of characters and numbers) file[2] contains 16 columns etc I'm reading everything into one big data frame and when I try rbind, R returns an error of "Error in rbind(deparse.level, ...) : numbers of columns of arguments do not match" Below is my
2012 Jan 18
4
R-Help
I am trying to create a frequency distribution and I am a bit confused. Here are the commands I have entered: > data <- read.csv(file="40609_sortedfinal.csv",head=TRUE,sep=",") > NumberOfActionsByStatus = data$STATUS > NumberOfActionsByUser = data$ETS_LOGIN > NumberOfBidOffer = data$BID_OFFER > NumberOfActionsByUser.freq = table(NumberOfActionsByUser) >