Description Usage Arguments Value Author(s) See Also Examples

Returns the squared Euclidean distance or the Manhattan distance between all rows in `x`

and the vector `center`

.

1 2 |

`x` |
a matrix or data frame, or a vector to be interpreted as a one-row matrix. |

`center` |
a vector such that |

`...` |
no effect; included for signature compatibility with |

A vector of which the `i`

th element is the *squared* Euclidean distance or the Manhattan distance between `x[i,]`

and `center`

.

Daniel Dvorkin

`mahalanobis`

in package `stats`

.

1 2 3 4 5 6 |

lcmix documentation built on May 21, 2017, 4:05 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.