Skip to content

how can I delete rows?

3 messages · raul sanchez, Philipp Pagel, Daniele Medri

#
On Tue, Jul 18, 2006 at 12:25:47PM -0300, raul sanchez wrote:
[...]


Assuming the data is stored in a data frame called bl you could do
something like this:

First you generate a list of all countries you are interested in - e.g.
And then you subset the data frame with it
SHCODE COUNTRY NAME WBCTRY X.1. X.2.
3       3   Benin  BEN      -    +   NA
12     12   Congo  COG      -    +   NA
26     26    Mali  MLI      -    +   NA


cu
	Philipp
1 day later
#
Il giorno mar, 18/07/2006 alle 12.25 -0300, raul sanchez ha scritto:
hint: add to the data.frame a column with the continental ID so this
could be usefull for other needs.

hint: ?subset



--
Daniele Medri