run_scan {scanstatistics} | R Documentation |
Run a scan statistic analysis with the given scan statistic and arguments.
run_scan(scanstat, args, gumbel = FALSE)
scanstat |
A scan statistic function. |
args |
A named list of arguments to be passed to |
gumbel |
Logical: should a Gumbel P-value be calculated? Default is
|
A list with components
The table of observed statistics.
The table of simulated statistics.
The Monte Carlo P-value of the scan statistic.
The Gumbel P-value of the scan statistic.