search for: kmdist

Displaying 1 result from an estimated 1 matches for "kmdist".

Did you mean: mdist
2009 Sep 06
2
selecting columns based on values of two variables
Dear R-list, I am having troubles selecting rows from a very large data-set containing distances between capitals. The structure of the data-set looks like this: numa ida numb idb kmdist midist 1 2 USA 20 CAN 731 456 2 2 USA 31 BHM 1623 1012 3 2 USA 40 CUB 1813 1130 I want to select a subset of these dyads, and have tried the following code: subset(capdist,ida == c("DEN","SWD","FIN") &...