One simulation of a test statistic from given distribution, parameters to be estimated (case 3)
1  | sim.stat3.1(statfun, n, sim_dist = runif, calc_dist = punif, estim, ...)
 | 
statfun | 
 Name of statistic to be simulated (as in help for   | 
n | 
 Sample size for each simulated test statistic  | 
sim_dist | 
 Name of R function to draw random samples from distribution (eg.   | 
calc_dist | 
 Name of R cumulative distribution to calculate test statistic for (eg.   | 
estim | 
 function parameters for distribution, apparently same for simulation and calculation  | 
... | 
 parameter values from data  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.