mid.lim: Provides mid-points intervals in an ordered vector

View source: R/mid.lim.R

mid.limR Documentation

Provides mid-points intervals in an ordered vector

Description

Provides mid-points intervals in an ordered vector

Usage

mid.lim(x, id = 1L, b = "[]")

Arguments

x

an ordered vector

id

a vector of n interval IDs (default is 1 for each interval)

b

a character vector for the interval boundaries rules, see as.lim help page for details

Value

a lim object of intervals with boundaries at midway between the x values

See Also

as.lim

Examples

mid.lim(c(1,3,7,20,45,63))


StratigrapheR documentation built on July 9, 2023, 6:02 p.m.