easy_just: Place Figure Text

easy_justR Documentation

Place Figure Text

Description

Used for positioning trend figure data value text appropriately in figures. A simplified version of vjust_right, which doesn't consider whether figure text may be cut off.

Usage

easy_just(
  data,
  axis_max = 100,
  axis_min = 0,
  invert = TRUE,
  fixed = TRUE,
  upper = 1
)

Arguments

data

data frame

axis_max

maximum of fixed Y axis; default is 100; only used if fixed=T

axis_min

minimum of fixed Y axis; default is 100; only used if fixed=T

invert

use this option if plot shows the data in the opposite order as intended

upper

the percentage of the Y axis that will cut off data text if exceeded; defaults to .9


ReverieNB/FMT-Package documentation built on March 10, 2023, 1:31 p.m.