Skip to contents

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