Displaying 2 results from an estimated 2 matches for "web36905".
2008 Feb 10
11
data frame question
Hello
I have 2 data frames df1 and df2. I would like to create a
new data frame new_df which will contain only the common rows based on the first 2
columns (chrN and start). The column score in the new data frame
should
be replaced with a column containing the average score (average_score) from df1
and df2.
df1= data.frame(chrN= c(“chr1”, “chr1”, “chr1”, “chr1”, “chr2”,
“chr2”, “chr2”),
2008 Feb 11
0
Testing for differecnes between groups, need help to find the right test in R. (Kes Knave)
...lt;csardi at rmki.kfki.hu> UNIL DGM
------------------------------
Message: 27
Date: Sun, 10 Feb 2008 11:38:13 -0800 (PST)
From: joseph <jdsandjd at yahoo.com>
Subject: [R] data frame question
To: r-help at r-project.org
Cc: r-help at r-project.org
Message-ID: <109232.80965.qm at web36905.mail.mud.yahoo.com>
Content-Type: text/plain
Hello
I have 2 data frames df1 and df2. I would like to create a
new data frame new_df which will contain only the common rows based on
the first 2
columns (chrN and start). The column score in the new data frame
should
be replaced with a column co...