search for: 200x4

Displaying 1 result from an estimated 1 matches for "200x4".

Did you mean: 200x
2006 Apr 13
1
loop: results for all inputs
Dear R users, I am using a loop that does matrix multiplication in a manner (A%*%B)%*%(A) Here A is a row of data frame D of order(200x4). B is a (4x4). No need to say D[j,] is 1x4 so I am using for(j in seq(0.1,20,by=0.1)){ S<- (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...