search for: d225

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

Did you mean: 225
2011 Oct 17
2
how to use 'which' inside of 'apply'?
Hello R-community, I am trying to populate a column (doy) in a large dataset with the first column number that exceeds the value in another column (thold) using the 'apply' function. Sample data: pt D1 D17 D33 D49 D65 D81 D97 D113 D129 D145 D161 D177 D193 D209 D225 D241 D257 1 39177 0 0 0 0 0 0 0 0 0.4336 0.4754 0.5340667 0.5927334 0.6514 0.6966 0.5900 0.5583 0.5676 2 39178 0 0 0 0 0 0 0 0 0.3420 0.4543 0.5397666 0.6252333 0.7107 0.7123 0.5591 0.4617 0.4206 3 39164 0 0 0 0 0 0 0 0 0.4830 0.4943 0.5740333 0.6...