e classes and the values of the columns.</p>
<p>In R there are multiple low-level data types, and some of the <strong>ggplot2</strong> behavior will depend on the type of the variable(s) used for plotting. The six basic data types are:</p>
<ul>
<li>character</li>
<li>factor</li>
<li>numeric</li>
<li>integer</li>
<li>logical</li>
<li>complex</li>
</ul>
<p>To examine the data type of an object, use the <code>class()</code> function. The <code>$</code> symbol allows you to access single columns of a data frame