Description Usage Arguments Details Author(s) Examples
Compute the Euclidean distance between two vectors having the same length Y and X.
1 | compute.ed(Y, X)
|
Y |
vector of imputed values |
X |
vector of true values |
This function returns the Euclidean distance of two vectors corresponding to univariate signals. A lower ED (ED \in [0, \inf]) value indicates that the two vectors are more similar. The both vectors Y and X must be of equal length, on the contrary an error will be displayed. In two input vectors, eventual NA will be exluded with a warning diplayed.
Thi-Thu-Hong Phan, Andre Bigand, Emilie Poisson-Caillault
1 2 3 | data(dataFSMUMI)
X <- dataFSMUMI[, 1] ; Y <- dataFSMUMI[, 2]
compute.ed(Y,X)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.