search for: 200x1

Displaying 2 results from an estimated 2 matches for "200x1".

Did you mean: 20001
2010 Mar 14
2
Create vectors from a vector
Dear all, I would like to create a number of vectors which contain the the first n elements of an existing vector. For example I have the vectors vnk (200x1) and vro(200x1) and I want to create 200 vectors that contain the 1st till the n_th element of the vectors and thus be able to create a vector s with 200 elements which are the product of all these vectors: i.e s1<-vnk[1]%*%vro[1] +p^(length(vp[1]+1)) s2<-vnk[1:2]%*%vro[1:2]+p^(length(v...
2006 Apr 13
1
loop: results for all inputs
...(4x4). No need to say D[j,] is 1x4 so I am using for(j in seq(0.1,20,by=0.1)){ S&lt;- (D[j,]%*%B)%*%(D[j,]) print(S) } As a result I am geting only one value of S, which comes using j=20. I need all 200 values of S so that I can use that for further analysis. Means I need a 200x1 column. Any help will be appreciated. Thanks, GS Indiatimes Email now powered by APIC Advantage. Help! " " Help [[alternative HTML version deleted]]