pvalue-methods {coin} | R Documentation |
Extracts the p-value from objects representing null distributions of independence tests.
pvalue(object, ...)
object |
an object inheriting from class
IndependenceTest-class . |
... |
further arguments (currently ignored). |
### artificial 2-sample problem df <- data.frame(y = rnorm(20), x = gl(2, 10)) ### Ansari-Bradley test at <- ansari_test(y ~ x, data = df, distribution = "exact") at pvalue(at)