s-news
[Top] [All Lists]

easy question

To: "S-PLUS Newsgroup" <s-news@lists.biostat.wustl.edu>
Subject: easy question
From: "Lambert.Winnie" <lambert.winnie@ensco.com>
Date: Wed, 27 Aug 2003 17:17:41 -0400
Thread-index: AcNs4KXp+7rvj+nuSOCjubOstYjHzw==
Thread-topic: easy question
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
********************************************

 
<Prev in Thread] Current Thread [Next in Thread>