Look at the results
missCheckVals</code></pre>
<pre><code>## events1 events2 region1 region2 
##   &quot;999&quot;   &quot;NaN&quot;     &quot; &quot;     &quot;.&quot;</code></pre>
</div>
</div>
<div id="exercise-2c---customizing-new-function" class="section level2">
<h2>Exercise 2c - customizing new function</h2>
<div id="c.1" class="section level3">
<h3>2c.1</h3>
<p><strong>Use the template to finish writing <code>refCat()</code>. Call it on <code>pill</code> from <code>toyData</code> in order to test wh