[tech-spec] Re: Problems with DateTime Classes-

  • From: BBands <bbands@xxxxxxxxx>
  • To: tech-spec@xxxxxxxxxxxxx
  • Date: Wed, 30 Mar 2005 12:45:24 -0800

Hi Vince,

The following works for me:

library(its)
x <- priceIts(instrument="INTC", start="2005-01-01", quote="Close")
names(x) <- "Close"
x <- data.frame(core(x))
str(x)

`data.frame':   59 obs. of  1 variable:
 $ Close: num  23.1 22.6 22.4 22.5 22.8 ...

'core()' is one of those 'hidden' functions I got from Dirk.

Hope that helps,

    jab
-- 
John Bollinger, CFA, CMT
www.BollingerBands.com

If you advance far enough, you arrive at the beginning.

Other related posts: