View source: R/portfolio_return.R
portfolio_return | R Documentation |
Portfolio return
portfolio_return(w, r)
w |
vector |
r |
vector |
vector
w <- c(.55, .25, .2) r <- c(0.08, 0.04, 0.03) portfolio_return(w, r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.