# Distance betwen vector and matrix

### Description

This function computes and returns the minimum distance between a vector and a matrix

### Usage

1 | ```
pdist(point, set, method = "manhattan")
``` |

### Arguments

`point` |
numeric vector |

`set` |
numeric matrix |

`method` |
String stating which distance measure to be used. This must be one of: "euclidean" or "manhattan" (default). |

### Value

numeric value indicating the minimum distance between `point`

and `set`

.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.