View source: R/pairwise_kulczynski_1.R
pairwise_kulczynsk_1 | R Documentation |
Calculates the pairwise Kulczynski (1) similarity.
pairwise_kulczynsk_1(data, cols, case_weights)
data |
A data frame. |
cols |
Columns to analyze. |
case_weights |
An optional column of case weights. |
Metric: Similarity
Symmetrical: Yes
Upper Limit: Inf
Lower Limit: 0
B | |||
1 | 0 | ||
A | 1 | a | b |
0 | c | d | |
Kulczynski 1 = a/(b+c)
A matrix.
pairwise_kulczynsk_1(
data = FoodSample,
cols = Bisque:Turkey
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.