From: Lars <lars.claussen_at_pik-potsdam.de>

Date: Fri 13 May 2005 - 02:48:32 EST

z[j]<-z[j-1]+x[i]

plot (c(p,z[j])

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 Received on Fri May 13 02:59:19 2005

Date: Fri 13 May 2005 - 02:48:32 EST

hi,

x<-c(1,2,3,4,5)

i<-1

j<-1

z[j]<-x[i]+x[i+1]

p<-z[j] j<-2:4 i<-3:5

z[j]<-z[j-1]+x[i]

plot (c(p,z[j])

what i get is:

[1] 6.0 12.0 9.2 18.0

any sugestions? lars

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 Received on Fri May 13 02:59:19 2005

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:31:44 EST
*