.coordCorrection {ggbrace}R Documentation

Imports: stats

Description

Imports: stats

Usage

.coordCorrection(
  x,
  y,
  rotate,
  mid,
  textdistance = NULL,
  distance,
  outerstart,
  width,
  outside
)

Arguments

x

vector, x values of all data points

y

vector, y value of all data points

rotate

number, defines where the brace is pointing to: 0=up, 90=right, 180=down, 270=left. When specified by user, will overwrite other directions the brace might have from x/y coordinates.

mid

number, where the pointer is within the bracket space (between 0.25 and 0.75). If NULL (default), will be determined automatically based on the data.

textdistance

number, distance of the label to the brace pointer

distance

number, space between the brace and the nearest data point

outerstart

number, overwrites distance and provides one coordinate for all braces

width

number, how wide should the braces be? If NULL (default), will be determined automatically based on the data.

outside

boolean, should the brace be outside of the data area or cover the data area?


[Package ggbrace version 0.1.1 Index]