getArrowPos: Converts coordinates in current plot region to device...

Description Usage Arguments Value See Also

View source: R/util.R

Description

Converts coordinates in current plot region to device positions (in inch).

Usage

1
2
3
4
5
6
getArrowPos(
  x,
  y,
  units = c("coords", "prop"),
  dev = c("plot", "figure", "panel")
)

Arguments

x

Numeric: x coordinate(s)

y

Numeric: y coordinate(s)

units

Coordinates (default) or proportions with respect to plot region.

dev

x and y position are measured with respect to the plot region (default), figure panel, or device.

Value

list

See Also

Other Utility functions: findAbsMin(), find_n_neighbors(), firstLetterCap(), getDec(), getRange(), getRatioCoords(), get_palette(), group_sort(), inch2coords(), isColor(), list2str(), move_n_point(), orderBoxplot(), se(), sortGroups()


plotfunctions documentation built on April 28, 2020, 5:10 p.m.