cpower | R Documentation |
Compute the empirical power of a method from the null test statistics, the results from the observed data, and the true hotspot locations. The power is simply the proportion of observed data sets for which a significant result was detected.
cpower(tnull, tdata, hotspot, alpha = c(0.05, 0.01))
tnull |
The set of null test statistics |
tdata |
The list of maximum test statistics
( |
hotspot |
A vector containing the hotspot indices for the current data set. |
alpha |
The type I error rate. Default is
|
A vector of power calculations.
tnull = 1:99
tdata = list(list(tmax = 96, mlc = c(50, 51)),
list(tmax = 101, mlc = c(48, 57)))
cpower(tnull, tdata, 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.