Sorry for the mistake, I have edited the first post.
I have created a data.frame that summarizes what I expect R Studio to do. In the example I have compared 1 and 2 with all the others rows (by hand) , reaching the solutions that are exposed in each column regarding the answer to the questions.
data.frame(stringsAsFactors=FALSE,
Start.ID = c("%%EDH", "%DIPA", "%DIPI", "%DRSI",
"*%200", "**EG1", "**TNT", "*01RD"),
End.ID = c("WSN", "PITES", "LADAT", "SITET", "BAKER",
"MID", "IBUGO", "IVLUT"),
Lon_i = c(9.23027777777778, 6.39722222222222,
7.35638888888889, -0.0458333333333333,
0.516666666666667, -0.922777777777778,
7.1397222222222, 9.78694444444444),
Lat_i = c(53.5088888888889, 49.7688888888889,
52.4375, 50.1633333333333, 51.35,
51.2816666666667, 52.0202777777778,
52.1555555555556),
Lon_f = c(8.87472222222222, 6.51944444444444,
7.83944444444444, 0, 8.29805555555555,
-0.625, 11.3766666666667, 8.25694444444444),
Lat_f = c(53.3472222222222, 49.7286111111111,
52.2652777777778, 50.1, 51.495,
51.0538888888889, 45.6411111111111, 52.2441666666667),
Rumbo_circular = c(53, 53, 50, 50, 137, 321, 336, 253),
Non_Possible_Conflict = c("%%EDH_WSN & %DIPA_PITES", NA, NA, NA, NA,
NA, NA, NA),
Possible_Inicial_Conflict = c("%%EDH_WSN & %DIPI_LADAT",
"%%EDH_WSN & **TNT_IBUGO",
"%%EDH_WSN & *01RD_IVLUT", "%DIPA_PITES & %DIPI_LADAT",
"%DIPA_PITES & **TNT_IBUGO",
"%DIPA_PITES & *01RD_IVLUT", NA, NA),
Non_Possible_Inicial_Conflict = c("%%EDH_WSN & DRSI_SITET",
"%%EDH_WSN & *%200_BAKER",
"%%EDH_WSN & **EG1_MID", "%DIPA_PITES & %DRSI_SITET",
"%DIPA_PITES & **EG1_MID",
"%DIPA_PITES & *%200_BAKER", NA, NA),
Posible_End_Conflict = c("%%EDH_WSN & %DIPI_LADAT",
"%%EDH_WSN & *%200_BAKER",
"%%EDH_WSN &*01RD_IVLUT", "%DIPA_PITES & %DIPI_LADAT",
"%DIPA_PITES & *01RD_IVLUT", NA, NA, NA),
Non_Possible_End_Conflict = c("%%EDH_WSN & DRSI_SITET",
"%%EDH_WSN & **EG1_MID",
"%%EDH_WSN & **TNT_IBUGO", "%DIPA_PITES & %DRSI_SITET",
"%DIPA_PITES & **EG1_MID",
"%DIPA_PITES & **TNT_IBUGO", "%DIPA_PITES & *%200_BAKER", NA)
)
As it can be seen the combinations under each category are:
- Non_Possible_Conflict: 1&2
- Possible_Inicial_Conflict: 1&3, 1&7, 1&8, 2&3, 2&7, 2&8
- Non_Possible_Inicial_Conflict: 1&4, 1&5, 1&6, 2&4, 2&6, 2&5
- Possible_End_Conflict: 1&3, 1&5, 1&8, 2&3, 2&8
- Non_Possible_End_Conflict: 1&4, 1&6, 1&7, 2&4, 2&6, 2&7, 2&5
where:
- 1 is %%EDH_WSN
- 2 is DIPA_PITES
- 3 is %DIPI_LADAT
- 4 is DRSI_SITET
- 5 is *%200_BAKER
- 6 is **EG1_MID
- 7 is **TNT_IBUGO
- 8 is *01RD_IVLUT
(I just linked startID and endID by a "_" to name each row)
Hope now there is not mistake. Thanks in advance for the help! 