Message-ID: <D8957B3C-2BD6-4DE5-9D09-30CAB430E271@gmail.com>
Date: 2012-10-11T19:58:26Z
From: Fuchs Ira
Subject: simple parsing question?
I am using the getQuote function in the Quantmod package to retrieve the % change for a stock as follows:
> getQuote("aapl",what=yahooQF(c("Change Percent (Real-time)")))
Trade Time %Change (RT)
aapl 2012-10-11 03:41:00 N/A - -1.67%
How can I extract the numeric "change %" which is being returned as a factor so that I can use it in other calculations?
Thanks.