get_distance | R Documentation |

Finds the distance of a discrete open srv curve to a smooth curve

```
get_distance(srv_curve, s, q, eps = 10 * .Machine$double.eps)
```

`srv_curve` |
srv transformation of the smooth curve, needs to be vectorized |

`s` |
time points for q, first has to be 0, last has to be 1 |

`q` |
square root velocity vectors, one less than time points in s |

`eps` |
convergence tolerance |

distance between srv_curve and q

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.