Description Usage Arguments Details Value Author(s) Examples
Finds the euclidean distance between two vectors x and y, or the vector x and the matrix y
1 | distancia(x, y)
|
x |
A numeric vector |
y |
A numeric vector or matrix |
Does not support missing values.
distancia |
The result is a numeric value representing the Euclidean distance between x and y, or a row matrix representing the Euclidean distance between x and each row of y. |
Caroline Rodriguez and Edgar Acuna
1 2 3 4 5 |
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE
3: .onUnload failed in unloadNamespace() for 'rgl', details:
call: fun(...)
error: object 'rgl_quit' not found
[1] 2.691626
[,1] [,2] [,3] [,4]
[1,] 1.902473 2.230908 1.626766 2.161939
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.