Displaying 1 result from an estimated 1 matches for "908x150".
Did you mean:
0x150
2013 Mar 14
2
HOw to achieve big vector times big dataframe in R?
HI,
I have the following question:
Vector a with lenght 150
A B C D.........
dataframe b with dim 908X150
1 1 1 1.....
2 2 2 2
3 3 3 3
4 4 4 4
................
final result I want is the vector with length 908:
A*1+B*1+C*1+D*1+.....
A*2+B*2+C*2+D*2+.....
A*3+B*3+C*3+D*3+.....
A*4+B*4+C*4+D*4+.....
....
because of too large dimension, how can I achieve this in R? Thanks.
Kind...