| applyFUN | R Documentation | 
This function is used to calculate risk or return metrics given a matrix of weights and is primarily used as a convenience function used in chart.Scatter functions
applyFUN(R, weights, FUN = "mean", arguments)
| R | xts object of asset returns | 
| weights | a matrix of weights generated from random_portfolios or  | 
| FUN | name of a function | 
| arguments | named list of arguments to FUN | 
Ross Bennett
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.