bracket_options | R Documentation |
These functions construct various sorts of brackets. They construct a matrix
that can be supplied as the bracket
argument in primitive_bracket()
.
bracket_line()
bracket_square()
bracket_chevron()
bracket_round(angle = 180, n = 100)
bracket_sigmoid(curvature = 10, n = 100)
bracket_atan(curvature = 5, n = 100)
bracket_curvy(angle = 225, n = 100)
angle |
A |
n |
An |
curvature |
A |
When designing custom bracket shapes, the expectation is both columns are are a number between 0 and 1. The first column follows the direction of the guide whereas the second column is orthogonal to that direction.
A <matrix[n, 2]>
with coordinates for points on the brackets.
bracket_line()
: A simple line as bracket. Has n = 2
points.
bracket_square()
: A square bracket. Has n = 4
points.
bracket_chevron()
: A chevron (V-shape) that makes a bracket. Has
n = 3
points.
bracket_round()
: One circular arc that makes a bracket.
bracket_sigmoid()
: Two sigmoid curves stacked on top of one another
to form a bracket.
bracket_atan()
: Two arctangent curves stacked on top of one
another to form a bracket.
bracket_curvy()
: Four circular arcs that make a bracket.
plot(bracket_sigmoid(), type = 'l')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.