search for: arrw

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

Did you mean: arr
2010 Feb 01
3
merging data frames gives all NAs
...runways, with a Runway column. I am trying to subset arrgnd into a dat frame for each selected runway, and then combine them back together using the following code: for (j in 1:nr) { # nr = number of user-selected runways ar4rw = arrgnd[arrgnd$Runway==rwy[j],] if (j == 1) { arrw = ar4rw } else { arrw = merge(arrw, ar4rw) } } but, the merge step gives me a data frame with all NAs. In addition, ar4rw always gets a row with NAs at the start, which I do not understand. There are no rows with all NAs in the arrgnd data frame. > ar4rw[1:2,] # firs...