Displaying 20 results from an estimated 200 matches similar to: "merge a list of data frames"
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
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:
2011 Mar 17
3
Flexible rbind
Dear All,
I am trying to create a empty structure that I want to fill gradually
through the code.
I want to use something like rbind to create the basic structure first.
I am looking for a possibility to do an rbind where the columns names
dont match fully (but the missing columns can be defaulted to either
zero or n/a) (my actual data has a lot of columns).
Please see the data frames below
I
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 Nabble.com.
2012 Apr 11
1
Merging multiple .csv files
Hi all,
I wish to merge 24 .csv files, each having a common identifier-column
("Name") and do two things:
1. Retrieve the common one's. [Analogy: while merging 2-dataframes, similar
to using: merge (.... ,by="Name", all=FALSE) ]
2. Retrieve all, i.e., the union of the rows of 24 files. [again, somthing
like: merge (.... ,by="Name", all=TRUE) ]
On the web,
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"
2018 May 31
2
mysterious rounding digits output
Well pointed out, Jim!
It is infortunate that the documentation for options(digits=...)
does not mention that these are *significant digits* and not
*decimal places* (which is what Joshua seems to want):
"?digits?: controls the number of digits to print when
printing numeric values."
On the face of it, printing the value "0,517" of 'ccc' looks
like printing 4
2018 May 31
3
mysterious rounding digits output
R version 3.5.0 (2018-04-23) -- "Joy in Playing"
Platform: x86_64-pc-linux-gnu (64-bit)
options(digits=3)
itemInfo <- structure(list("aaa" = c(1.39633732316667, 1.32598263816667, 1.11658324066667, 1.23651072616667, 1.05368679983333, 1.03100737383333, 0.9630728395, 0.7483865045, 0.620086646166667, 0.5411017985, 0.496397607833333, 0.459528044666667, 0.427877047833333,
2018 May 31
0
mysterious rounding digits output
Hi Joshua,
Because there are no values in column ddd less than 1.
itemInfo[3,"ddd"]<-0.3645372
itemInfo
aaa bbb ccc ddd eee
skill 1.396 6.225 0.517 5.775 2.497
predict 1.326 5.230 0.462 5.116 -2.673
waiting 1.117 4.948 NA 0.365 NA
complex 1.237 4.170 0.220 4.713 5.642
novelty 1.054 4.005 0.442 4.260 2.076
creative 1.031 3.561 0.362 3.689
2018 May 31
0
mysterious rounding digits output
>>>>> Ted Harding
>>>>> on Thu, 31 May 2018 07:10:32 +0100 writes:
> Well pointed out, Jim!
> It is infortunate that the documentation for options(digits=...)
> does not mention that these are *significant digits*
> and not *decimal places* (which is what Joshua seems to want):
Since R 3.4.0 the help on ?options *does* say
2006 Sep 21
1
Problems with making a complex graphic
En innebygd og tegnsett-uspesifisert tekst ble skilt ut...
Navn: ikke tilgjengelig
Nettadresse: https://stat.ethz.ch/pipermail/r-help/attachments/20060921/b479a8df/attachment.ksh
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
2010 Feb 04
2
help needed using t.test with factors
I am trying to use t.test on the following data:
date type INTERVAL nCASES MTF SDF MTO SDO
nFST MF nOBS MO MB BIASCV BIASEV ME MAE
RMSE CRCF
2001-06-15 avn GE1.00 4385 0.246 0.300 1.502
0.556 1367 1.373 4385 1.502 1.471 0.285 0.164
-1.256 1.266 1.399 0.056
2001-06-15 avn
2015 Feb 09
3
smbclient works with IP address but not hostname
Hi Ashish,
On 09/02/15 17:50, Ashish Yadav wrote:
> Hi,
>
> On Sun, Feb 8, 2015 at 11:23 AM, Graeme Russ <gruss at tss-engineering.com
> <mailto:gruss at tss-engineering.com>> wrote:
>
> Hi All,
>
> I've configured a Fedora 20 server with samba to share a few user
> directories and a printer.
>
> From a Windows 8 laptop, I am able
2005 Mar 29
2
strange error with rw2010dev
With rw2010dev I get a strange protect(): protection stack overflow
error with a small data frame which otherwise is usable:
If anybody wants to have a look I can provide an RData file
with the problematic data frame.
Doesn't seem to be necessary, the following simulated example
generates the error:
> testmat <- matrix(1:80, 20,4)
> dim(testmat)
[1] 20 4
> str(testmat)
int
2008 Feb 19
4
[LLVMdev] 2008-01-25-ByValReadNone.c Failure
Hi all,
I'm seeing this failure on my PPC G4 box running TOT with llvm-gcc
4.2. Is anyone else seeing this? I'm sure it's related to the byval
stuff that's recently gone into LLVM. I'm attaching the output of
this command:
$ llvm-gcc -emit-llvm -O3 -S -o - -emit-llvm /Users/wendling/llvm/
llvm.src/test/CFrontend/2008-01-25-ByValReadNone.c
As you can see in it, there
2012 Apr 12
1
correlation matrix between data from different files
Dear users,
I'm quite a new french R-user, and I have a problem about doing a
correlation matrix.
I have temperature data for each weather station of my study area and for
each year (for example, a data file for the weather station N?1 for the year
2009, a data file for the N?2 for the year 2010, ....). So I have 70
weather stations with one data file per year since 2005. Each station has 4
2010 Oct 23
3
Why such high latency on internal lan?
My internal lan is small, 100mb, all wired. aastra phones.
sip show peers
.......
142/... 10.10.10.42 D A 5060 OK (136 ms)
144/... 10.10.10.44 D A 5060 OK (138 ms)
145/... 10.10.10.45 D A 5060 OK (133 ms)
But pings are < 1ms:
ping 10.10.10.42
........
rtt min/avg/max/mdev = 0.479/0.483/0.497/0.021 ms
Why are the sip latencies so
2010 Apr 14
6
sum specific rows in a data frame
I have a data frame called "pose":
DESCRIPTION QUANITY CLOSING.PRICE
1 WHEAT May/10 1 467.75
2 WHEAT May/10 2 467.75
3 WHEAT May/10 1 467.75
4 WHEAT May/10 1 467.75
5 COTTON NO.2 May/10 1 78.13
6 COTTON NO.2 May/10 3 78.13
7 COTTON NO.2 May/10 1 78.13
2007 Apr 03
1
lmer, CHOLMOD warning: matrix not positive definite
Hi,
I am getting a warning message when I am fitting a generalized linear
mixed model (m1.2 below).
CHOLMOD warning: matrix not positive definite
Error in objective(.par, ...) : Cholmod error `matrix not positive
definite' at file:../Supernodal/t_cholmod_super_numeric.c, line 614
Any idea?
Thanks for your help,
Reza
> sessionInfo()
R version 2.4.1 (2006-12-18)
i386-pc-mingw32