Description Usage Arguments Examples
View source: R/CalculatePvalue.R
This function wraps many of the other functions to perform cluster detection analysis using the wild bootstrap.
1 | CalculatePvalue(observed_cc, WB_cc, nboot, sigtype)
|
observed_cc |
the observed statistical value, can be the area of a connected component or the Z transformed Wald statistic |
WB_cc |
The distribution of areal extents derived from the wild bootstrap – used when performing cluster detection |
nboot |
The number of wild bootstraps performed, used to calculate the p value for cluster detection |
sigtype |
A character string representing the type of significance test, will perform cluster detection if "cluster" is specified. |
1 | p <- CalculatePvalue(observed_cc,WB_cc,nboot,sigtype)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.