show_shapes | R Documentation |
A quick and dirty way to show shapes.
show_shapes(shapes, labels = TRUE)
shapes |
A numeric or character vector of shapes. See
|
labels |
Include the plotting character value of the symbol. |
This function called for the side effect of creating a plot.
It returns shapes
.
show_col()
, show_linetypes()
library("scales")
show_shapes(shape_pal()(5))
show_shapes(shape_pal()(3), labels = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.