How to know if the data is a list or data.frame in R
<p>How do I know if my data in R is a list or a data.frame?</p>

<p>If I use <code>typeof(x)</code> it says list, if I use <code>class(x)</code> it says data.frame?</p>