| mc.pvalue | R Documentation | 
mc.pvalue computes the Monte Carlo p-value of each
element of tobs using the relationship
(sum(tsim >= x) + 1)/(nsim + 1) where x is
a specific element of tobs and nsim =
length(tsim).
mc.pvalue(tobs, tsim)
tobs | 
 A vector observed test statistics  | 
tsim | 
 A vector of test statistics from simulated data  | 
A vector of p-values.
mc.pvalue(8:10, 1:9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.