Can someone explain how endpoints function works?

I don't understand why I recive an output from endpoints function, whereas I am expecting something else. I wrote a pseudo code, could someone explain the mechanism?

y1<-xts(y1, = Sys.Date()-1:750)

With this code R returns 0 123 347 484 713 750. Shouldn't it return 250 500 750 ? Or how would it return those indecies? Thanks

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.