draw_arrows_yoob: Draw arrows on the top and/or bottom of the plot pointing to...

View source: R/utils-draw-arrows-yoob.R

draw_arrows_yoobR Documentation

Draw arrows on the top and/or bottom of the plot pointing to where out-of-bounds points are located. YOOB means Y-axis Out-Of-Bounds

Description

Draw arrows on the top and/or bottom of the plot pointing to where out-of-bounds points are located. YOOB means Y-axis Out-Of-Bounds

Usage

draw_arrows_yoob(
  g,
  yoob,
  arrow_angle = 10,
  arrow_size_npc = 0.03,
  arrow_units = "npc"
)

Arguments

g

A ggplot2::ggplot() object

yoob

Anlist returned from the function calc_yoob()

arrow_angle

See angle parameter in grid::arrow()

arrow_size_npc

See length parameter in grid::arrow()

arrow_units

See length parameter in grid::arrow()

Value

A ggplot2::ggplot() object


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.