[R] Newbie question re stddev, quantmod and performanceanalytics
jrkrideau at yahoo.ca
Mon Aug 17 16:27:44 CEST 2009
What package or library are you using?
What is YHOO.Close ?
Try str(retYHOO) to see what it looks like.
--- On Mon, 8/17/09, afx111 <afx111 at yahoo.com> wrote:
> From: afx111 <afx111 at yahoo.com>
> Subject: [R] Newbie question re stddev, quantmod and performanceanalytics
> To: r-help at r-project.org
> Received: Monday, August 17, 2009, 1:43 AM
> I am trying to calculate the std dev of returns of YHOO so
> far i got:
> retYHOO <- Return.calculate(Cl(YHOO))
> > sd(retYHOO)
> 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.
> R-help at r-project.org
> mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with
More information about the R-help