This function return a distance (or proximity) matrix between n points regularly distributed in 1 dimension.
the number of points
a logical indicating whether to return a matrix of proximity.
A squared matrix. A matrix of class
prox is set to
x <- distEq(5)