View source: R/portfolio_stdev.R
portfolio_stdev | R Documentation |
Portfolio standard deviation
portfolio_stdev(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_stdev(w, s, C)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.