title: R: Confusion with date column when converting from xts to dataframe
body: <p>I want to try ggplot with some time series data (stocks) and would like to pass x and y axis values to the ggplot function.</p>
  
  <p>Here's my sample code:</p>
  
  <pre><code>require(quantmod)
  getSymbols("AAPL")
  AAPL.DF&lt;-as.data.frame(AAPL)
  </code></pre>
  
  <p>Interesting is here that we have only 1729x6 observations, even though the data column is there as well (so it should be actually 7 columns...). If I want to see all column names (in order to reference it for ggplot) with colnames(AAPL.DF) I only get the column names starting with AAPL.Open but the data column isn't mentioned. Why is that? And how can I reference it then for ggplot?!</p>