> x[i]=3Dx[i-1]+y[i-1] for all i, how can I do this without a loop? 

It looks like
   x <- cumsum(y)

What does 3D mean?

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to