Braces: Plot a Braces Symbol

Description Usage Arguments Author(s) See Also Examples

View source: R/Braces.R

Description

This function is not yet very flexible.

Usage

1
Braces(x, y, face.radians = 0, long = 1, short = 0.2, ...)

Arguments

x

x-coordinate of the center of the braces.

y

y-coordinate of the center of the braces.

face.radians

Radians of where the braces should face. For example, the default with face.radians = 0 has the braces facing right. Setting to pi / 2 would result in the braces facing up.

long

The units for the long dimension of the braces.

short

The units for the short dimension of the braces. This must be less than or equal to half of the long dimension.

...

Arguments passed to lines.

Author(s)

David Diez

See Also

dlsegments

Examples

1
2
plot(0:1, 0:1, type = "n")
Braces(0.5, 0.5, face.radians = 3 * pi / 2)

OpenIntroStat/openintro-r-package documentation built on Jan. 22, 2020, 3:23 p.m.