Nothing
peresneto.simulation <-
function(rmarg=rnorm,n=50,vars="nine",mat=1,...){
data(peresneto)
if(!((vars=="nine")||(vars=="eighteen"))){stop("not a valid peresneto matrix")}
if(vars=="nine"){
p <- 9
set <- 1
}
else{
p <- 18
set <- 2
}
output <- matrix(rmarg(n*p,...),n,p) %*% chol(peresneto[[set]][[mat]])
return(output)
}
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.