| pow_abs_dist | R Documentation |
Used internally, calculates the absolute distances for values in a matrix with possibly unequal dimensions, and raises these to a power.
pow_abs_dist(x1, x2 = x1, pow = 2)
x1 |
numeric vector, with length corresponding to the number of rows in the returned matrix. |
x2 |
numeric vector, with length corresponding to the number of columns
in the returned matrix. If not specified, |
pow |
single numeric value, the power that all distances are raised to.
Defaults to |
Matrix with length(x1) rows and length(x2) columns including the
calculated absolute pairwise distances raised to pow.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.