Skip to content
Prev 2459 / 15274 Next

Date from csv as date for ts

Take a look at the 'zoo' or 'xts' packages:

xts(smallcap.ts[,-1],as.Date(smallcap.ts[,1]))

zoo(smallcap.ts[,-1],as.Date(smallcap.ts[,1]))

'xts' extends zoo - so you get all the goodness of zoo, and it adds some
time-specific functionality.

Either would be a good choice/start.

A working sample might let me provide a more direct answer.

Jeff
On Tue, May 6, 2008 at 10:17 AM, R at Nabble <vlanschot at yahoo.com> wrote: