use_stat | R Documentation |
This function is a helper to automatically generate an .R
file populated
with a skeleton of a typical test function compatible with flipr
.
use_stat(nsamples = 1, stat_name = "mystat")
nsamples |
An integer specifying the number of samples to be used.
Defaults to |
stat_name |
A string specifying the name of the test statistic that is
being implemented. Defaults to |
Creates a dedicated .R
file with a template of code for the
function that implements the test statistic and saves it to the R/
folder
of your package.
## Not run:
use_stat()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.