title: Is there a way to create Stata's _merge indicator variable with R's merge()?
body: <p>Stata automatically creates a variable called "_merge" indicating the matched variables in both datasets after merge. Is there a way to get such variable generated by R's merge() function?</p>