inst/examples/pvalue_example.R

# Generate sample S0 and simulate statistics
S0 = 0
S = rnorm(99)

# Compute p-value
pvalue(S0, S, type = "geq")

Try the MaxMC package in your browser

Any scripts or data that you put into this service are public.

MaxMC documentation built on May 1, 2019, 10:16 p.m.