portfolio-portfolioFrontier | R Documentation |
Compoutes the efficient portfolio frontier.
portfolioFrontier(data, spec = portfolioSpec(), constraints = "LongOnly",
include.mvl = TRUE, title = NULL, description = NULL)
constraints |
a character string vector, containing the constraints of the form |
data |
a multivariate time series described by an S4 object of class
|
description |
a character string which allows for a brief description. |
include.mvl |
a logical flag, should the minimum variance locus be added to the plot? |
spec |
an S4 object of class |
title |
a character string which allows for a project title. |
Portfolio Frontier:
The function portfolioFrontier
calculates the whole efficient
frontier. The portfolio information consists of five arguments: data,
specifications, constraints, title and description.
The range of the frontier is determined from the range of the asset
returns, and the number of equidistant points in the returns, is
calculated from the number of frontier points hold in the specifrication
structure. To extract or to modify the number of frontier points
use the functions getNFrontierPoints
and setNFrontierPoints
.
The frontierPortfolio
function returns the properties of
the the efficient frontier as an S4 object of class fPORTFOLIO
.
portfolioFrontier
function returns an S4 object of class
"fPORTFOLIO"
.
Wuertz, D., Chalabi, Y., Chen W., Ellis A. (2009); Portfolio Optimization with R/Rmetrics, Rmetrics eBook, Rmetrics Association and Finance Online, Zurich.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.