dist(x) in base R only has a few methods. If you want to calculate distance with some arbitrary measure (eg simple matching coefficient, or cosine distance), then too bad for you. This package creates all pairwise comparisons between samples and calculates the distance with any arbitrary distance function. Using the foreach package, this calculation is done in parallel.
Package details 


Maintainer  
License  MIT + file LICENSE 
Version  0.0.0.9000 
Package repository  View on GitHub 
Installation 
Install the latest version of this package by entering the following in R:

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.