Description Usage Arguments Value See Also
Note: this function sets the self-similarity diagonal = 0. For certain applications, diagonal = 1 may be more appropriate.
1 2 3 |
data |
Matrix. |
method |
One of the following: "correlation", "cosine", "dotproduct", "Gaussian". |
rowscaling |
One of the following: "L2", "L1". |
colscaling |
Single option: "standardize" (center and divide by variance). |
sigma |
Variance for Gaussian Kernel method. |
centers |
Proportion of columns to be sampled, if desired (e.g. centers = .25). |
seed |
For sampling reproducibility. |
distance |
For use with Gaussian Kernel; options = "JSdivergence", "L1", "L2" |
sparse |
Logical. Is the data sparse or not. |
Similarity matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.