nsink_plot_delivery | R Documentation |
This function creates a simple plot with a pre-selected color palette, although different breaks and colors can be provided by the user. This is meant as a quick means to visualize delivery index.
nsink_plot_delivery(
delivery_idx,
breaks = c(20, 40, 60, 80, 100),
colors = c("#FFBEBE", "#F57A7A", "#A80405", "#652600")
)
delivery_idx |
A delivery index |
breaks |
A vector of values specifying breakpoints to break the
delivery |
colors |
A vector of hexcodes for the colors |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.