select a row based on different column value (same row) : <pre><code>df &lt;- data.frame(ID = rep(c("WTN", "KON", "WTH","KOH"), each = 3),
                 Time = rep(c("A", "B", "C"), times = 4),
                 replicate(3,sample(1:100,12,rep=TRUE)))
</code></pre>

<p>I want to select a row based on the values of two different columns of the same row, in this case "WTN" and "A". Expected output:</p>

<pre><code>1  WTN    A 84 96 26
</code></pre>
