Skip to contents

Thin extender over coin::independence_test for conditional / permutation tests of independence between arbitrary response and covariate combinations.

Usage

morie_coin_independence(formula, data, ...)

Arguments

formula

A model formula, e.g. y ~ x | block.

data

A data frame.

...

Further arguments forwarded to coin::independence_test (e.g. distribution, teststat, ytrafo, xtrafo).

Value

A list with $method = "coin::independence_test" and $raw (an IndependenceTest object).