dig_contrasts {nuggets} | R Documentation |
Search for contrast patterns
dig_contrasts(
x,
condition = where(is.logical),
xvars = where(is.numeric),
yvars = where(is.numeric),
method = "t",
alternative = "two.sided",
min_length = 0L,
max_length = Inf,
min_support = 0,
threads = 1,
...
)
x |
a matrix or data frame with data to search in. |
condition |
a tidyselect expression (see tidyselect syntax) specifying the columns to use as condition predicates |
xvars |
a tidyselect expression (see tidyselect syntax) specifying the columns to use for computation of contrasts |
yvars |
a tidyselect expression (see tidyselect syntax) specifying the columns to use for computation of contrasts |
method |
a character string indicating which contrast to compute.
One of |
alternative |
indicates the alternative hypothesis and must be one of
|
min_length |
the minimum size (the minimum number of predicates) of the condition to be generated (must be greater or equal to 0). If 0, the empty condition is generated in the first place. |
max_length |
The maximum size (the maximum number of predicates) of the condition to be generated. If equal to Inf, the maximum length of conditions is limited only by the number of available predicates. |
min_support |
the minimum support of a condition to trigger the callback
function for it. The support of the condition is the relative frequency
of the condition in the dataset |
threads |
the number of threads to use for parallel computation. |
... |
Further arguments passed to the underlying test function
( |
A tibble with found rules.
Michal Burda
dig()
, dig_grid()
, stats::t.test()
, stats::wilcox.test()
, stats::var.test()