Re: [R] adress the current index

About this list Date view Thread view Subject view Author view Attachment view

From: Uwe Ligges (ligges@statistik.uni-dortmund.de)
Date: Tue 25 May 2004 - 17:33:45 EST


Message-id: <40B2F6D9.8010404@statistik.uni-dortmund.de>

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.
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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

______________________________________________
R-help@stat.math.ethz.ch 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


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:12 EST