Displaying 1 result from an estimated 1 matches for "newiolm".
2010 Jun 04
1
How do I 'merge' a altered subset of a data.frame back into the same data.frame
...- i_wtr$IOLM_AST + 0.3
> i_wtr
ID IOLM_AST IOLM_AXIS
2 2 1.50 79.0
6 6 0.58 99.7
8 8 1.04 84.0
9 9 1.93 87.0
16 16 1.23 94.0
20 20 1.67 91.0
21 21 1.49 63.0
...
## STEP 4 result (not what I wish to get)
newiolm<-merge(i_wtr, iolm, by.x="ID", by.y="ID", all = T)
> newiolm
ID IOLM_AST.x IOLM_AXIS.x IOLM_AST.y IOLM_AXIS.y
1 1 NA NA 1.15 165.33
2 2 1.50 79.0 1.20 79.00
3 3 NA NA 0.40 51...