powered by
Provides mid-points intervals in an ordered vector
mid.lim(x, id = 1L, b = "[]")
a lim object of intervals with boundaries at midway between the x values
an ordered vector
a vector of n interval IDs (default is 1 for each interval)
a character vector for the interval boundaries rules, see as.lim help page for details
as.lim
mid.lim(c(1,3,7,20,45,63))
Run the code above in your browser using DataLab