Learn R Programming

scanstatistics (version 1.0.1)

run_scan: Run a scan statistic analysis.

Description

Run a scan statistic analysis with the given scan statistic and arguments.

Usage

run_scan(scanstat, args)

Arguments

scanstat

A scan statistic function.

args

A named list of arguments to be passed to scanstat.

Value

A list with components

observed

The table of observed statistics.

simulated

The table of simulated statistics.

MC_pvalue

The Monte Carlo P-value of the scan statistic.

Gumbel_pvalue

The Gumbel P-value of the scan statistic.