calcMidpoints: Calculate midpoints from a vector ofcuutpoints

View source: R/calcMidpoints.R

calcMidpointsR Documentation

Calculate midpoints from a vector ofcuutpoints

Description

Funciton to calculate midpoints from a vector ofcuutpoints

Usage

calcMidpoints(x)

Arguments

x
  • numeric vector of cutpoints

Details

calculates the arithmetic midpoints of the successive intervals defined by x.

Value

vector of midpoints (length = length(x)-1)


wStockhausen/wtsUtilities documentation built on Feb. 3, 2025, 6:29 a.m.