Description Usage Arguments Value Author(s)
Given weights matrix Wt, find sum of weighted pairwise outer product of differences, i.e. sum_i,j Wt_ij(x_i-x_j)(x_i-x_j)^T. Internal use only.
1 | sumWtDiff(Wt, x)
|
Wt |
Weight matrix, nrow(x)-by-nrow(x) |
x |
data matrix, one observation per row. |
the weighted sum of outer product of pairwise differences.
Billy Chang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.