tanimotoCoef | R Documentation |
Calculates Tanimoto coefficients (Jaccard Index) given two set vectors.
tanimotoCoef(A, B, T = NULL)
A |
set input1 as vectors |
B |
set input2 as vectors |
T |
background space (if given, A and B are intersected with T before calculating, causing the function to run slower) |
A <- c(1:5)
B <- c(3:7)
tanimotoCoef(A, B)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.