Nothing
pOptGen <-
function(mu,Sigma,C)
{
SigmaI <- solve(Sigma)
Mu <- cbind(1,mu)
w <- c(SigmaI%*%Mu%*%solve(t(Mu)%*%SigmaI%*%Mu)%*%c(1,C))
vol <- sqrt(w%*%Sigma%*%w)
return(list(w=w,vol=vol))
}
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.