symLim: Symmetric plot limits for plus/minus variables

Description Usage Arguments Value Author(s) Examples

Description

Symmetric plot limits for plus/minus variables

Usage

1
symLim(x)

Arguments

x

object (vector or array) for which the symmetric limits are desired

ceil

logical indicating whether or not to take the ceiling of the value

Value

A two element vector containing the largest absolute value from the range, as a negative and positive. NA's in the input are ignored using the na.rm=TRUE option in range().

Author(s)

Clark Richards

Examples

1
symLim(rnorm(1:100))

richardsc/crMisc documentation built on May 27, 2019, 7:59 a.m.