Learn R Programming

SNscan (version 1.0)

mcpv.function: Monte Carlo p-value

Description

Compute the Monte Carlo p-value.

Usage

mcpv.function(obs.stat, ms.stat, direction)

Arguments

obs.stat
The observed testing statistics.
ms.stat
The Monte Carlo testing statistics.
direction
The comparative direction of observed testing statistics and the Monte Carlo testing statistics.

Value

The p-values of observations will be returned.

See Also

network.scan

Examples

Run this code
#Please refer to the page of network.scan.

Run the code above in your browser using DataLab