range(..., na.rm=F)
This function is useful as an argument to plotting when it is desired to specify the limits for the x- or y-axes. (See the plot example.)
plot(x, y, ylim=range(y, 0, 1)) # force y-axis to include (0, 1)diff(range(x)) # distance between max and min