Mag. Ferri Leberl wrote:

How can I adress the current index of a vector?

How do you define "current" in this context? You might want to get the length() of the vector...

Uwe Ligges


I want to work with time series and therefore give the n-th element of a vector some value dependent on the value of the n-1th element.

Thank you in advance.

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to