approvalBarY: Compute top or bottom vertical position of approval bars.

Description Usage Arguments Value

View source: R/utils-approvals.R

Description

Compute top or bottom vertical position of approval bars.

Usage

1
approvalBarY(lim, ylog = NULL, ratio)

Arguments

lim

The y-axis real interval, as two element vector.

ylog

A Boolean, indicating whether the y-axis is log_10 scale: TRUE => log_10; FALSE => linear.

ratio

A scaling ratio to adjust top or bottom of approval bar rectangle.

Value

Approval bar, top or bottom y-axis point, in world coordinates.


USGS-R/repgen documentation built on April 14, 2021, 2:47 p.m.