Re: [R] adress the current index

2004-05-25 Thread Thomas Petzoldt
Mag. Ferri Leberl wrote: How can I adress the current index of a vector? 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. Sorry, your question is not really clear, but possibly the following may help: 1) If yo

Re: [R] adress the current index

2004-05-25 Thread Uwe Ligges
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

[R] adress the current index

2004-05-24 Thread Mag. Ferri Leberl
How can I adress the current index of a vector? 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