Description Usage Arguments Details Examples
View source: R/bootfunctions.R
Function to plot the area under the cdf below a certain cutoff.
1 | hitplots(porder, alpha = 0.005)
|
porder |
the feed from porder.1sample or porder.2sample. matrix of size Bxm. of ordered transformed p values. |
alpha |
the cutoff of ecd, by default 0.005. |
The alpha parameter specifies the cutoff, the plot is the ecdf under alpha. So the right tail of the ecdf would have probability alpha.
1 2 3 4 5 6 7 8 9 | ## Not run:
n = 50;m = 250;m0 = 20;
sigeff = 1;
Sigma <- 0.25*diag(m)
X <- datgen(n,m,m0,sigeff,Sigma = Sigma)
porder <- pboot.1sample(X, B = 100, ncpus = 1)
hitplots(porder)
## End(Not run)
|
Loading required package: ggplot2
Loading required package: reshape2
[1] 24
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.