Set portfolio moments for use by lower level optimization functions using a statistical factor model based on the work of Kris Boudt.
portfolio.moments.boudt(R, portfolio, momentargs = NULL, k = 1, ...)
an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns
an object of type portfolio
specifying the
constraints and objectives for the optimization, see
portfolio.spec
list containing arguments to be passed down to lower level functions, default NULL
number of factors used for fitting statistical factor model
any other passthru parameters