ob_rectangle | R Documentation |
ob_rectangle class
ob_rectangle(
center = S7::class_missing,
width = numeric(0),
height = numeric(0),
east = S7::class_missing,
north = S7::class_missing,
west = S7::class_missing,
south = S7::class_missing,
northeast = S7::class_missing,
northwest = S7::class_missing,
southwest = S7::class_missing,
southeast = S7::class_missing,
angle = numeric(0),
vertex_radius = numeric(0),
label = character(0),
alpha = numeric(0),
color = character(0),
fill = character(0),
linewidth = numeric(0),
linetype = numeric(0),
style = S7::class_missing,
x = numeric(0),
y = numeric(0),
id = character(0),
...
)
center |
|
width |
width |
height |
height |
east |
right middle point ( |
north |
top middle point ( |
west |
left middle point ( |
south |
top middle point ( |
northeast |
upper right point ( |
northwest |
upper left point ( |
southwest |
lower left point ( |
southeast |
lower right point ( |
angle |
angle of text |
vertex_radius |
A numeric or unit vector of length one, specifying the corner radius for rounded corners |
label |
A character, angle, or |
alpha |
numeric value for alpha transparency |
color |
character string for color |
fill |
character string for fill color |
linewidth |
Width of lines |
linetype |
type of lines |
style |
a style object |
x |
overrides x-coordinate in |
y |
overrides y-coordinate in |
id |
character string to identify object |
... |
< |
ob_rectangle
object
ggdiagram() +
ob_rectangle(center = ob_point(0,0), width = 3, height = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.