the statement in a <code>which()</code> call, instead of getting the logical vector, we get the row numbers of the places in the vector that are <code>TRUE</code>.</p>
<p>Next, we can use the indicies stored in <code>probRows</code> to look at the full dataset for those rows:</p>
<pre class="r"><code>presiData[probRows, ]</code></pre>
<pre><code>##     lastName firstName orderOfPresidency   birthday dateOfDeath
## 32 Roosevelt  Franklin                32 1882-01-30  1945-04-12
## 44     Obama    Barack     