Description Usage Arguments Value Examples

Calculate dice similarity metric

1 | ```
dice(ainterb, lengtha, lengthb)
``` |

`ainterb` |
integer value with number of intersecting elements between set a and b |

`lengtha` |
integer value with the number of items in set a |

`lengthb` |
integer value with the number of items in set b |

dice double vlaue with the dice similarity coefficient

1 | ```
dice(1, 3, 4)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.