scale_fill_obi: OBI colors for discrete data

Description Usage Examples

View source: R/scales.R

Description

Color scheme for categorical variables. You can choose between the palettes "oranges", "greys" and "obi_autumn".

Usage

1

Examples

1
2
3
4
5
6
library(ggplot2)
library(ggOBI)

ggplot(data = diamonds, aes(color, fill = color)) +
    geom_bar() +
    scale_fill_obi(palette = "obi_autumn")

markusntz/ggOBI documentation built on Jan. 14, 2020, 8:44 a.m.