rhos <- function(cop,thet){
copulaFunction <- get(paste(cop,"c",sep=""));
integral <- adapt(2,c(0,0),c(1,1),functn=copulaFunction,thet=thet);
rho <- 12*integral$value-3;
return(rho);
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.