pair_kendall {bullseye} | R Documentation |
Kendall's correlation
Description
Calculates Kendall's correlation for every numeric variable pair in a dataset.
Usage
pair_kendall(d, handle.na = TRUE, warnings = TRUE, ...)
Arguments
d |
A dataframe |
handle.na |
If TRUE uses pairwise complete observations to calculate correlation coefficient, otherwise NAs not handled. |
warnings |
If TRUE, generates a warning for datasets of one row, one column, or with constant variables. |
... |
other arguments |
Value
A tibble of class pairwise
with calculated association value for every numeric variable pair,
or NULL if there are not at least two numeric variables
See Also
See pair_methods
for other score options.
Examples
pair_kendall(iris)
# same as
pair_cor(iris, method="kendall")
[Package bullseye version 1.0.0 Index]