axlim: Set rounded axis limits

View source: R/axlim.R

axlimR Documentation

Set rounded axis limits

Description

Set rounded axis limits given data and a specified rounding level.

Usage

axlim(x, level)

Arguments

x

A numeric vector of data

level

The "level" to round the lower and upper limits to

Value

A numeric vector with the lower and upper limit

Examples

x <- seq(3,95,1)
axlim(x, 5)
axlim(x, 10)
axlim(x, 30)

cfree14/freeR documentation built on Aug. 22, 2023, 11:12 p.m.