Construct an equally-spaced grid given a range and the number of cut points
(one more than the number of resulting bins).
This is nothing else than seq(range[1], range[2], length.out=n).
Usage
makegrid(range, n)
Arguments
range
numeric vector of length 2.
n
length of the desired grid, i.e. number of bins + 1.
Value
the desired grid, a numeric vector of length n covering
range.