0

I can not find any solution for my problem. I want to merge two data frames like these for example:

country   people per m
Aruba          5
Ireland        3
Spain          2

country      kg per person
Aruba        80
New Zealand  75
Germany      60
Spain        66

Now I want to merge them make a data frame which looks like that:

country   people per m   kg per person
Aruba        5            80
Ireland      3            NA
Spain        2            66
New Zealand  NA           75
Germany      NA           60

I hope you can give me some tips.

Thank you

WeareR
  • 3
  • 3

0 Answers0