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 March 16, 2024, 10:38 a.m.