wpr {FinCal} | R Documentation |
Weighted mean as a portfolio return
wpr(r, w)
r |
returns of the individual assets in the portfolio |
w |
corresponding weights associated with each of the individual assets |
wpr(r=c(0.12, 0.07, 0.03),w=c(0.5,0.4,0.1))