Other Sequence Functions
Compute midpoints and endpoints from a vector.
midpoints (x) endpoints (x)
x |
An integer/numeric vector. |
The midpoints function returns a vector, with a length one less than the original vector.
The endpoints function returns a length two vector.
Sequence Properties
(Other than unique-related properties).
x <- 1:4 midpoints (x) endpoints (x)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.