pair_tauA | R Documentation |
Calculates Kendall's tau A for every factor variable pair in a dataset.
pair_tauA(d, handle.na = TRUE, ...)
d |
A dataframe |
handle.na |
ignored. Pairwise complete observations are used automatically. |
... |
other arguments |
Calculated using KendallTauA
. Assumes factor levels are in the given order.
NAs are automatically handled by pairwise omit.
A tibble of class pairwise
with factor pairs, or NULL if there are not at least two factor variables
d <- data.frame(x=rnorm(20),
y=factor(sample(3,20, replace=TRUE)),
z=factor(sample(2,20, replace=TRUE)))
pair_tauA(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.