equityanddebtpf: Generate a weighted portfolio of two assets

Description Usage Arguments Value

View source: R/portfolio_construction.R

Description

The function takes two time series of asset prices as input and estimates the portfolio evaluation based on the weight provided by the user.

Usage

1
equityanddebtpf(equity, debt, equityaspercent)

Arguments

equity

A data frame or matrix with a time series of equity prices.

debt

A data frame or matrix with a time series of debt prices.

equityaspercent

A numeric input indicating which proportion of the PF should be invested in the first asset.

Value

A data frame containing the time series of the portfolio performance.


MatthiasSpeicher/gryffindorrobo documentation built on Dec. 27, 2019, 2:15 a.m.