mm {compactr} | R Documentation |
The function mm()
finds the minimum and maximum of
a vector. It is intended for use with eplot()
to
properly scale the axes.
mm(x)
x |
a vector |
Carlisle Rainey (e-mail, website)
x <- rnorm(100) y <- rnorm(100) par(mfrow = c(1,1), mar = c(5,4,4,2), oma = c(0,0,0,0)) eplot(x, y, xlim = mm(x), ylim = mm(y))