Skip to content
Prev 105484 / 398506 Next

creating column based on another variable

Jeff Miller wrote:
I don't understand the semantics here. You are mixing cities and countries.
Now you are mixing a single country and a whole continent.

Is this some homework?

You should consider to tell R which cities are in the US and which 
countries are in Europe and than try to match appropriately ...
As the footer of this message says:
"PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html"
which tells you to read introductory material and to specify some code 
examples and details that you already have got. Then it's much easier 
for us to help.

Uwe Ligges