Displaying 1 result from an estimated 1 matches for "inc_year".
2010 Sep 08
2
dataframe selection using a multi-value key
...lational key from the other dataframe). The following code shows what I
am trying to do. The final two lines of code do not work, but if somebody
could figure out a workable solution, that would be great. Thanks.
--Markus
incidents = data.frame(
INC_NO = c(1,2,3,4,5,6,7,8,9,10),
INC_YEAR = c(2006, 2006, 2006, 2007, 2008, 2008, 2008, 2008, 2009,
2010),
INC_TYPE = c("EMS", "FIRE", "GAS", "MVA", "EMS", "EMS", "EMS",
"FIRE", "EMS", "EMS"))
responses = data.frame(
INC_NO...