Re: [R] Loop and cbind

2007-07-04 Thread john seers \(IFR\)
Hi In what way does it not work? My guess is that you have not declared your values outside the for loop. As they are local they will be lost on exit. You need to declare them before: ewma-vector(length=12) standard-vector(length=12) for ... { } John Seers --- Hi, I

Re: [R] Loop and cbind

2007-07-04 Thread ONKELINX, Thierry
2007 15:19 Aan: livia; r-help@stat.math.ethz.ch Onderwerp: Re: [R] Loop and cbind Hi In what way does it not work? My guess is that you have not declared your values outside the for loop. As they are local they will be lost on exit. You need to declare them before: ewma