wpr: Weighted mean as a portfolio return

Description Usage Arguments Examples

Description

Weighted mean as a portfolio return

Usage

1
wpr(r, w)

Arguments

r

returns of the individual assets in the portfolio

w

corresponding weights associated with each of the individual assets

Examples

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

Example output

[1] 0.091

FinCal documentation built on May 2, 2019, 1:29 p.m.