type_polygon | R Documentation |
Type function for plotting polygons.
Arguments are passed to polygon
.
type_polygon(density = NULL, angle = 45)
density |
the density of shading lines, in lines per inch. The
default value of |
angle |
the slope of shading lines, given as an angle in degrees (counter-clockwise). |
# "polygon" type convenience character string
tinyplot(1:9, c(2,1,2,1,NA,2,1,2,1), type = "polygon")
# Use `type_polygon()` to pass extra arguments for customization
tinyplot(1:9, c(2,1,2,1,NA,2,1,2,1), type = type_polygon(density = c(10, 20)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.