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))

felixfan/FinCal documentation built on May 16, 2019, 12:46 p.m.