| To: | "S-PLUS Newsgroup" <s-news@lists.biostat.wustl.edu> |
|---|---|
| Subject: | Summary: opposite of merge |
| From: | "Lambert.Winnie" <lambert.winnie@ensco.com> |
| Date: | Mon, 12 Jul 2004 16:55:08 -0400 |
| Thread-index: | AcRoUoNCtnDTCMv9RzCAdrs8Dck3Dg== |
| Thread-topic: | Summary: opposite of merge |
|
All,
Thanks to Sean
Keenan, Tim Hesterberg, Tom Jagger, Julia Reid, Manoel Pacheco, Jean Adams,
and Tony Plate for your quick responses. There are a lot more details to
my data frames than I put in the email that were apparently important. I
tried all suggestions and the one that worked without much modification was from
Julia:
df4 <-
df2[!is.element(paste(df2$Year, df2$Month, df2$Day), paste(df3$Year, df3$Month,
df3$Day)), ]
for some reason I
could not use !is.element, kept getting a wierd error. So I went in the
back door by using
good <-
is.element(...)
df4 <-
df2[!good,]
Perhaps I was just
hitting a wrong key when I tried !is.element.....
Anyway, thanks to
all. This is a great group. Not sure I would have come up with this
solution on my own very quickly, if at all!
Win
*****************************************************************
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.winnie@ensco.com
AMU Quarterly Reports are available
online:
*****************************************************************
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: opposite of merge, Tony Plate |
|---|---|
| Next by Date: | printing lots of SGR plots to Adobe or other formats......., John Russell |
| Previous by Thread: | opposite of merge, Lambert.Winnie |
| Next by Thread: | printing lots of SGR plots to Adobe or other formats......., John Russell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |