| rmsd | R Documentation |
Calculates the euclidean distance between two vectors x and y divided by the square root of the lengths of the vectors.
NA values are ignored by default when calculating the mean squares (so the denominator is the number of non-NA differences).
rmsd(x, y, na.rm = TRUE)
x |
The first vector to compare (required). |
y |
The second vector to compare (required).
Lengths of |
na.rm |
If |
the square root of the mean square difference between x and y, after removing NA comparisons (cases where either is NA).
x <- rnorm(10) y <- rnorm(10) rmsd( x, y )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.