calc_portfolio_parameters {R4GoodPersonalFinances} | R Documentation |
Calculate Portfolio Parameters
Description
Calculate Portfolio Parameters
Usage
calc_portfolio_parameters(portfolio)
Arguments
portfolio |
A |
Value
A list with the following elements:
-
value
: The value of the portfolio. -
weights
: The weights of assets in the portfolio. -
expected_return
: The expected return of the portfolio. -
standard_deviation
: The standard deviation of the portfolio.
Examples
portfolio <- create_portfolio_template()
portfolio$accounts$taxable <- c(10000, 30000)
calc_portfolio_parameters(portfolio)
[Package R4GoodPersonalFinances version 1.0.0 Index]