View source: R/portfolio_variance.R
portfolio_variance | R Documentation |
Portfolio variance
portfolio_variance(w, s, C)
w |
matrix |
s |
matrix |
C |
matrix |
vector
w <- matrix(c(.55, .25, .2)) s <- matrix(c(.24, .18, .15)) C <- matrix(c(1, 0.85, 0.3, 0.85, 1, -0.15, 0.3, -0.15, 1), nrow = 3) portfolio_variance(w, s, C)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.