Skip to content
Prev 75890 / 398502 Next

Problem with get.hist.quote() in tseries

There is no head.ts and x[1:10,] has the side effect of converting
it from class ts to class matrix.   Use window 

  window(x, end = start(x)[1]+10)

instead or use 

  head(as.zoo(x)) 

since there is a head.zoo in the 'zoo' package.
On 8/19/05, Ajay Narottam Shah <ajayshah at mayin.org> wrote: