mathTport | R Documentation |
Computes the portfolio weights of the tangency portfolio, and its mean return and volatility. The tangency portfolio is defined by the line connecting the zero volatility risk-free rate to its tangency point on the efficient frontier.
mathTport(returns, rf = 0.005, digits = NULL)
returns |
A vector or xts object |
rf |
The risk-free rate, default 0.005 |
digits |
Number of significant digits default NULL |
Tangency portfoliow weights, mean and volatility
args(mathTport)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.