.seekBrace {ggbrace}R Documentation

Imports: stats

Description

Imports: stats

Usage

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

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.

bending

number, how strongly the curves of the braces should be bent (the higher the more round). Note: too high values will result in the brace showing zick-zack lines

npoints

integer, number of points generated for the brace curves (resolution). This number will be rounded to be a multiple of 4 for calculation purposes.


[Package ggbrace version 0.1.1 Index]