Re: [R] R Newbie, please help!

From: Jeff08 <>
Date: Thu, 03 Jun 2010 22:10:40 -0700 (PDT)

Hey Josh,

Thanks for the quick response!

I guess I have to switch from the Java mindset to the matrix/vector mindset of R.

Your code worked very well, but I just have one problem:

Essentially I have a time series of stock A, followed by a time series of stock B, etc.
So there are break points in the data (the points where it switches stocks have incorrect returns, and should be NA at t=0 for each stock)

Is there an easy way to account for this in R?

View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 04 Jun 2010 - 05:49:40 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 04 Jun 2010 - 05:50:27 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive