DescTools (version 0.99.8.1)

Midx: Find the Midpoints of a Numeric Vector

Description

Calculate the midpoints of a sequence of numbers.

Usage

Midx(x)

Arguments

x
the numeric vector

Value

  • numeric vector with the calculated midpoins

Examples

Run this code
x <- c(1,3,6,7)
Midx(x)

Run the code above in your browser using DataLab