Displaying 3 results from an estimated 3 matches for "mymerge".
2010 Nov 08
3
Help with getting ?match to not sort
Hello all,
I think I am missing something about the sorting parameter in the "match"
command/
Here is an example:
a1 <- data.frame(name = c("D", "B", "C", "A", "A", "C"))
a2 <- data.frame(name = c("A", "B", "C", "D"), num = 1:4)
a1
a2
merge(a1, a2, sort = F, by.x = T)
The
2004 May 20
2
for() to lapply()
Hi dear R-users:
I have the following problem:
I have a list of data.frames (12 variables and 60000 rows, each)
I have to merge from an specific point of the list to the
end of the list, I am doing so with a for() loop but it is
too inefficient and it exhausts memory.
How can I convert this for() loop in a function and then use
lapply?
2010 Jan 13
4
merging issue.........
hi, I have a question about merging two files.
For example, I have two files, the first file is like the following:
id   trait1
1    10.2
2    11.1
3    9.7
6    10.2
7    8.9
10  9.7
11  10.2
The second file is like the following:
id    trait2
1     9.8
2     10.8
4     7.8
5     9.8
6     10.1
12    10.2
13    10.1
now I want to merge the two files by the variable "id", I only want