| var.portfolio | R Documentation | 
This function is used to calculate the portfolio variance via a call to constrained_objective when var is an object for mean variance or quadratic utility optimization.
var.portfolio(R, weights)
R | 
 xts object of asset returns  | 
weights | 
 vector of asset weights  | 
numeric value of the portfolio variance
Ross Bennett
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.