rmixnorm <- function(n, P, vmu, vsigma){
d <- length(P)
res<- .C("rmixnorm", as.integer(n), as.double(P), as.integer(d),
as.double(vmu), as.double(vsigma), result=double(n),
DUP = TRUE, PACKAGE='simutool')
return(res$result)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.