Nothing
`print.optimalPortfolio` <-
function(x, ...){
cat('Model: ')
if(x$model$model == 'none'){
cat('no model specified.\n')
} else if(x$model$model == 'SIM'){
cat('single index model\n')
} else if(x$model$model == 'MGM'){
cat('multigroup model\n')
} else if(x$model$model == 'MIM'){
cat('multi-index model\n')
} else if(x$model$model == 'CCM'){
cat('constant correlation model\n')
}
cat('Expected return:', x$R, '\n')
cat('Risk estimate: ', x$risk, '\n\n')
cat('Portfolio allocation:\n')
print(x$X)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.