Nothing
knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.width = 8, fig.asp = .618 )
This vignette is intended to demonstrate the breadth of scale_duke_continuous()
and its
various applications.
It is fully integrated with ggplot2 visualizations.
For these visualizations, we will use the penguins
dataset from the palmerpenguins package.
library(duke) library(palmerpenguins) library(ggplot2)
plot <- ggplot2::ggplot(palmerpenguins::penguins, ggplot2::aes(bill_length_mm, flipper_length_mm)) + ggplot2::geom_point(ggplot2::aes(colour = bill_length_mm)) + ggplot2::labs(title = "Bill Length vs. Flipper Length", caption = "There are three different species of penguins.", x = "Bill Length (mm)", y = "Flipper Length (mm)") plot + scale_duke_continuous()
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.