testCallouts: Test Callouts

Description Usage Arguments Value

View source: R/utils-limits.R

Description

A function to ensure that callouts on a plot fit within the x-limits.

Usage

1
testCallouts(plot_obj, xlimits)

Arguments

plot_obj

The plot object whose callouts will be checked

xlimits

The outer x coordinates on the graph.

Value

The plot object changed so that all callouts fit and show on the plot.


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