Dear all R users,
Suppose I have a dataset like that, data =
1 1.957759e-09
2 1.963619e-09
3 1.962807e-09
4 1.973951e-09
5 1.983401e-09
6 1.990894e-09
7 2.000935e-09
8 1.998391e-09
9
?which.min
Dear all R users,
Suppose I have a dataset like that, data =
1 1.957759e-09
2 1.963619e-09
3 1.962807e-09
4 1.973951e-09
5 1.983401e-09
6 1.990894e-09
7 2.000935e-09
8
stat stat wrote:
I want to see at which row minimum value of the second column occures.
Therefore I made the following loop:
[snip while-loop]
Is there any more effective way to do that in terms of time consumption?
I don't know about timing, but I understand that loops are