This counts the number of columns in x that are different between rows. It is a suitable distance function for factor and character data.
1 | dist.hamming(x)
|
x |
matrix with numbers, characters, or factors |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.