.seekBrace {ggbrace}R Documentation

Imports: stats

Description

Imports: stats

Usage

.seekBrace(x, y, rotate, bending, npoints, bracketType)

Arguments

x

vector, x values of all data points

y

vector, y value of all data points

rotate

number in degrees. Defines where the brace points to: 0=up (default), 90=right, 180=down, 270=left

bending

number from 0 to 0.5. Determines bend of the brace curves (0=rectangular). If NULL (default), will be determined by data. If too high, values will result in zick-zack lines

npoints

integer. Number of points generated for the brace curves. Will be rounded to be a multiple of 4 for calculation purposes.

bracketType

text choice. Either "curly" (default) or "square"


[Package ggbrace version 0.1.2 Index]