View source: R/compute_outer.R
compute_outer | R Documentation |
Computes the distance between all combination of elements in two vector. a is vector of size n, and b is a vector of size m, the result, will be a matrix of size(n,m)
compute_outer(a, b, op)
a |
first vector (size n) |
b |
second vector (size m) |
op |
operator (e.g., '-', '+', '/', ...) |
A n by m matrix that includes abs difference between elements of vector a and b.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.