|
I know this is an
easy question - I must be having a brain-blip. I am using S-PLUS 6 on
Windows XP. I have 3 data frames, each with the same column names. I
want to compare the Year and Day columns in all 3 and get a resulting data frame
with just the records that have the same Year and Day combination in each data
frame. I tried merge(df1, df2, by=intersect(Year, Day)), but that didn't
work. Am I at least on the right track? Thanks for the
help.
********************************************** Winifred C.
Lambert Senior Scientist/Meteorologist ENSCO, Inc. Aerospace
Sciences and Engineering Division 1980 N. Atlantic Ave., Suite 230 Cocoa
Beach, FL 32931 VOICE: 321.853.8130 FAX: 321.853.8415 EMAIL:
lambert.winifred@ensco.com
AMU Quarterly Reports are available
online: http://science.ksc.nasa.gov/amu/home.html ********************************************
|