Learn R Programming

cooltools (version 2.4)

midseq: Mid-points of regular grid

Description

Compute the mid-point positions of a one-dimensional regular grid of n equal intervals.

Usage

midseq(min, max, n = 1)

Value

vector of mid points

Arguments

min

left boundary of first bin

max

right boundary of last bin

n

number of bins

Author

Danail Obreschkow