| To: | <s-news@wubios.wustl.edu> |
|---|---|
| Subject: | getting rid of certain dataframe rows |
| From: | "Leeds, Mark" <mleeds@mlp.com> |
| Date: | Wed, 17 Dec 2003 13:55:00 -0500 |
| Thread-index: | AcPEz0X4kim1hwUgQTyMg13JA/Fv3w== |
| Thread-topic: | getting rid of certain dataframe rows |
|
i
don't think this is so hard but i don't know how to do
it.
i have a dataframe
and one of the columns is data$date.
( there are many
other columns also ).
the format for the
data$date is dd-mmm-yy and it's a string.
i have a list of
dates ( say 15 dates ) for which i want to get rid
of
the whole row that
has that date as the value for data$date.
for example, i know
that i want to get rid of the whole
row for which
data$date is "02-Jan-02".
i can do the
statement multiple times so there
is no need to be
clever about doing it all in one statement.
if the list of dates
that i have is 15,
i can type the same
command 15 times, that's not a problem.
thanks a lot and
sorry to bother everyone.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: barplot fonts :, Aldi Kraja |
|---|---|
| Next by Date: | Re: getting rid of certain dataframe rows, Sundar Dorai-Raj |
| Previous by Thread: | barplot fonts :, Aldi Kraja |
| Next by Thread: | Re: getting rid of certain dataframe rows, Sundar Dorai-Raj |
| Indexes: | [Date] [Thread] [Top] [All Lists] |