[R] merging two datasets

Ivan Calandra ivan.calandra at uni-hamburg.de
Thu Mar 11 10:37:44 CET 2010


Hi,

What about merge(table1, table2)?
See ?merge for more details

Ivan

Le 3/11/2010 10:15, n.vialma at libero.it a écrit :
> I have some probems in merging the following datasets:
>
> table1
>
> Paese                     Continente
>
> Italia                           EU
> francia                        EU
> germania                  EU
> stati uniti                     AM
> canada                        AM
>
>
>
> table2
>
> Continente                      valuta
>
> EU                                     euro
> AM                                    dollaro
>
>
> the results should be
>
> Paese                                Valuta
>
> Italia                                      euro
> francia                                   euro
> germania                                euro
> stati uniti                                dollaro
> canada                                   dollaro
>
>
> there is anyone who can help me??
> THANKS A LOT
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>    

-- 
Ivan CALANDRA
PhD Student
University of Hamburg
Biozentrum Grindel und Zoologisches Museum
Abt. Säugetiere
Martin-Luther-King-Platz 3
D-20146 Hamburg, GERMANY
+49(0)40 42838 6231
ivan.calandra at uni-hamburg.de

**********
http://www.for771.uni-bonn.de
http://webapp5.rrz.uni-hamburg.de/mammals/eng/mitarbeiter.php



More information about the R-help mailing list