I have the following headings:
"Index","Open","High","Low","Close","Volume"
I only want to use the Close volume in the table called prices, how would I only select the column close so I can only use that data?
I have tried something along the lines of
closePrices <- prices("Close")
and
closePrices <- prices[Close]
both of which throw an error