Nothing
# Sigma scaling 2
selsscale2 = function(fitvals, ns, selc, ...){
n = length(fitvals)
if(missing(ns)) ns=n
if(missing(selc)) selc=2
if(any(fitvals<0)) fitvals=fitvals-min(fitvals)
favg = mean(fitvals)
fsd = sd(fitvals)
fstar = fitvals + (favg-selc*fsd)
fstar[fstar<0]=0
p = fstar/sum(fstar)
matpool = sample(1:n, size=ns, prob=p, replace=TRUE)
return(matpool)
}
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.