How would I multiply :
BNP.PA.Adjusted ACA.PA.Adjusted UG.PA.Adjusted
BNP.PA.Adjusted 0.010129967 0.009577789 0.007148473
ACA.PA.Adjusted 0.009577789 0.012127668 0.007340544
UG.PA.Adjusted 0.007148473 0.007340544 0.015503678
by :
c(0.3 , 0.2 , 0.5)
In order to get :
BNP.PA.Adjusted ACA.PA.Adjusted UG.PA.Adjusted
BNP.PA.Adjusted 0.010129967x0.3x0.3 0.009577789x0.2x0.3 0.007148473x0.5x0.3
ACA.PA.Adjusted 0.009577789x0.3x0.2 0.012127668x0.2x0.2 0.007340544x0.5x0.2
UG.PA.Adjusted 0.007148473x0.3x0.5 0.007340544x0.2x0.5 0.015503678x0.5x0.5
I tried using %*% : MaMatrix <- cov_m %*% Poids but this only does
BNP.PA.Adjusted ACA.PA.Adjusted UG.PA.Adjusted
BNP.PA.Adjusted 0.010129967x0.3 0.009577789x0.2 0.007148473x0.5
ACA.PA.Adjusted 0.009577789x0.3 0.012127668x0.2 0.007340544x0.5
UG.PA.Adjusted 0.007148473x0.3 0.007340544x0.2 0.015503678x0.5
What am I Missing ?