extendLimits: Extend the Limits of a Range Vector

View source: R/main.R

extendLimitsR Documentation

Extend the Limits of a Range Vector

Description

Extend the Limits of a Range Vector

Usage

extendLimits(limits, left = 0.05, right = left, absolute = FALSE)

Arguments

limits

vector of two elements as e.g. used for xlim or ylim

left

percentage of limit range (absolute == FALSE) or absolute value (absolute == TRUE) by which the left limit is extended to the left.

right

percentage of limit range (absolute == FALSE) or absolute value (absolute == TRUE) by which the right limit is extended to the right.

absolute

Default: FALSE


KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.