n level3">
<h3>2b.3</h3>
<p><strong>Use <code>check()</code> to identify the values that are thought to be potential outliers for the <code>presidencyYears</code> variable and store the result in an object <code>problems</code>. Return the vector with the <code>problemValues</code> and save them to a vector <code>probs</code>.</strong></p>
<p>We store the results of checking <code>presidencyYears</code> for outliers in an object called <code>problems</code>:</p>
<pre class="r"><code>problems &lt;- check(pre