show_linetypes | R Documentation |
A quick and dirty way to show linetypes.
show_linetypes(linetypes, labels = TRUE)
linetypes |
A character vector of linetypes. See
|
labels |
Label each line with its linetype (lty) value. |
This function called for the side effect of creating a plot.
It returns linetypes
.
show_col()
, show_linetypes()
library("scales")
show_linetypes(linetype_pal()(3))
show_linetypes(linetype_pal()(3), labels = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.