wpr {FinCal}R Documentation

Weighted mean as a portfolio return

Description

Weighted mean as a portfolio return

Usage

wpr(r, w)

Arguments

r

returns of the individual assets in the portfolio

w

corresponding weights associated with each of the individual assets

Examples

wpr(r=c(0.12, 0.07, 0.03),w=c(0.5,0.4,0.1))

[Package FinCal version 0.6.3 Index]