Skip to content
Prev 67589 / 398506 Next

Behavior of apply() when used with start()

Maybe one person can, but I am not sure who is that person.

When I called 

starts2 <- apply(arr, 2, start)

I was not asking for the attibutes of the whole matrix. 

It rather seems to me that cbind() is the culprit. When it copies the
time series tsa and tsb it seems to reset their start attributes to 1.

In any case, I did what I wanted to do by using list() instead of
cbind() and lapply() instead of apply().

FS
On 4/13/05, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote: