Description Usage Arguments Value Author(s) Examples

Determine the midpoints between a vector of numbers

1 | ```
midpoints(x)
``` |

`x` |
a numeric vector of length >= 2. if unsorted, then it
will be sorted. |

a numeric vector of midpoints, of length n-1

Mark Cowley, 30 June 2005

1 2 |

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.