title: finding TRUE and FALSE summation using grepl function in r
body: <p>I am searching for particular words within a text vector using <code>grepl</code>. My function ran very well but with several <code>TRUE</code>s and <code>FALSE</code>s in the output. I am looking for a way to sum the number of the <code>FALSE</code>s and <code>TRUE</code>s in my output.</p>