Skip to content
Prev 248467 / 398503 Next

Creating a new variable from existing ones

On Jan 26, 2011, at 2:06 PM, Melanie Zoelck wrote:

            
Presumably you have some sort of table with "location" and "region"  
and another table with perhaps "persons" and "location". You would  
merge these two tables with ... wait for it .... "merge":

?merge


In the future it is considered more helpful to offer a tiny data  
example constructed with R code to allow more complete illustrations  
to be offered. Please read the Posting Guide.
David Winsemius, MD
West Hartford, CT