spscan.sim {smacpod} | R Documentation |
Compute spatial scan statistics for simulated data
Description
Compute spatial scan statistics for simulated data
Usage
spscan.sim(nsim, nnlist, N, N1, Nin, Nout, const, cl)
Arguments
nsim |
The number of simulations from which to compute the p-value. A non-negative integer. Default is 499. |
nnlist |
A list of nearest neighbors from the
|
N |
Number of event locations |
N1 |
Number of case events |
Nin |
Number of event locations in each window |
Nout |
Number of event locations outside each window |
const |
Constant for computing test statistic |
cl |
A cluster object created by |
Value
A vector of maximum test statistics
[Package smacpod version 2.6.4 Index]