an optional numeric vector of weights (by default, a vector of 1 for uniform weights)
target
rank or name of the category of interest when y is categorical
twocont
character. The type of measure of correlation measure to use between two continuous variables : "pearson", "spearman" or "kendall" (default).
nperm
numeric. Number of permutations for the permutation test of independence. If NULL, no permutation test is performed.
distrib
the null distribution of permutation test of independence can be approximated by its asymptotic distribution ("asympt", default) or via Monte Carlo resampling ("approx").
dec.a
integer. Number of decimals for association values. Default is 3.
dec.p
integer. Number of decimals for permutation p-values. Default is 3.
Value
A data frame
Details
The function computes association measures (phi, correlation coefficient, Kendall's correlation) between the variable of interest and the other variables. It can also compute the p-values permutation tests.