mm: Find the minimum and maximum of a vector

Description Usage Arguments Author(s) Examples

Description

The function mm() finds the minimum and maximum of a vector. It is intended for use with eplot() to properly scale the axes.

Usage

1
  mm(x)

Arguments

x

a vector

Author(s)

Carlisle Rainey (e-mail, website)

Examples

1
2
3
4
5
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))

compactr documentation built on May 2, 2019, 9:41 a.m.