[R] Newbie question re stddev, quantmod and performanceanalytics
afx111
afx111 at yahoo.com
Mon Aug 17 07:43:14 CEST 2009
Hi,
I am trying to calculate the std dev of returns of YHOO so far i got:
getSymbols("YHOO")
retYHOO <- Return.calculate(Cl(YHOO))
> sd(retYHOO)
YHOO.Close
NA
but i received an NA....can any assist? tks!
--
View this message in context: http://www.nabble.com/Newbie-question-re-stddev%2C-quantmod-and-performanceanalytics-tp25001293p25001293.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list