Displaying 1 result from an estimated 1 matches for "relational_key".
2010 Sep 08
2
dataframe selection using a multi-value key
...quot;E2", "E5", "T1", "E7", "E6", "E2", "E2", "E1",
"E3", "E7", "T1", "E7", "E5"))
merged_data = merge(incidents, responses, by=c("INC_NO", "INC_YEAR"))
relational_key = c("INC_NO", "INC_YEAR")
## following does not work, but I want DF of incidents that did not merge up
with responses
incidents[incidents[,relational_key] %in% responses[,relational_key],]
## following does not work, but I want DF of responses that did not merge up
with incide...