I've seen the answers about multiplying one matrix by another. But I have a single matrix, completely numerical. As an example:
matrix = read.table(text = 
"ID  Mult    t1  t2  t3  t4  t5
 4   0.164   10  20  30  40  50
 16  0.581   5   10  5   10  5
 42  0.008   16  17  18  19  20
 91  0.328   20  20  20  20  20
 103 0.108   103 42  56  84  61", 
 h = T)
I want to multiply t1 through t5 by the multiplier, separately,  and put the results in new columns in my matrix.
I would do it column by column, but for the fact that I have over 200 columns!
Hopefully, someone can suggest a more simple fix.
 
     
     
    