| dice | R Documentation |
Computes 2 * |A intersection B| / (|A| + |B|). Returns 0 if both sets are empty (matches web tool convention).
dice(size_a, size_b, intersection)
size_a |
Inclusive size of set A (integer >= 0). |
size_b |
Inclusive size of set B (integer >= 0). |
intersection |
Inclusive intersection size |A intersection B|. |
Numeric in [0, 1].
dice(10, 10, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.