Skip to content
Prev 2230 / 15274 Next

applying to.period on matrices

apply is not a generic function with class-specific methods.  Try this:

do.call(cbind, lapply(as.list(xts.ts), to.weekly))
On Wed, Feb 27, 2008 at 9:26 AM, Murali Menon <feanor0 at hotmail.com> wrote: