Description Usage Arguments Value
Grab the data for the ROC curve from the null & test distributions
1 2 |
dat |
a data.frame with columns "simulation", indicating "null" or "test", "value", with the value of the test statistic, and "rep" indicating the replicate number Or set dat=NULL and specify null_dist and test_dist directly, see below. |
pts |
(optional) number of output points desired, defaults to 50, should not be more than the number of points in each distribution |
null_dist |
a distribution (vector of samples) of the test statistic under the null hypothesis, if not given as a data frame |
test_dist |
the values under the test hypothesis |
a data frame with thresholds, false positive and corresponding true positive rates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.