|
SOLUTIONS
|
Mathematica
>
Core Language
>
String Manipulation
>
Sequence Alignment & Comparison
>
Distance and Similarity Measures
>
SokalSneathDissimilarity
BUILT-IN MATHEMATICA SYMBOL
SokalSneathDissimilarity
SokalSneathDissimilarity[u, v]
gives the Sokal-Sneath dissimilarity between Boolean vectors u and v.
DetailsDetails
- SokalSneathDissimilarity works for both True, False vectors and
,
vectors. - SokalSneathDissimilarity[u, v] is equivalent to
, where
is the number of corresponding pairs of elements in
and
respectively equal to
and
.
New in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
