set.portfolio.moments: Portfolio Moments

Description Usage Arguments Details

Description

Set portfolio moments for use by lower level optimization functions. Currently three methods for setting the moments are available

Usage

1
2
set.portfolio.moments(R, portfolio, momentargs = NULL, method = c("sample",
  "boudt", "black_litterman", "meucci"), ...)

Arguments

R

an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns

portfolio

an object of type "portfolio" specifying the constraints and objectives for the optimization, see portfolio.spec

momentargs

list containing arguments to be passed down to lower level functions, default NULL

method

the method used to estimate portfolio moments. Valid choices include "sample", "boudt", and "black_litterman".

...

any other passthru parameters

Details


PortfolioAnalytics documentation built on May 1, 2019, 10:56 p.m.