Displaying 1 result from an estimated 1 matches for "myarray2".
Did you mean:
  myarray
  
2010 Oct 27
2
keep adding elements to the matrix
Hello everyone,
I would like to create a "dynamic" array to keep storing number in it
for (i in c(2:length(final))){
    myarray <-final[i]-final[i-1]
    myarray2<-2*final[i]  
  }
At the end I would like to use myarray as the x values of an array
and the myarray2 as the yvalues of the same array.
I tried cbind but it didnot work.
Could you please help me with that?
Best Regards
Alex
      
	[[alternative HTML version deleted]]