border | R Documentation |
Change or set ggplot panel border.
border(color = "black", size = 0.8, linetype = NULL)
color |
border line color. |
size |
numeric value specifying border line size. |
linetype |
line type. An integer (0:8), a name (blank, solid, dashed,
dotted, dotdash, longdash, twodash). Sess |
# Load data data("ToothGrowth") df <- ToothGrowth # Basic plot p <- ggboxplot(df, x = "dose", y = "len") p # Add border p + border()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.