epinion_color: Apply Epinion colors to graph

View source: R/epinion_color.R

epinion_colorR Documentation

Apply Epinion colors to graph

Description

This function allows you to add Epinion colors to an existing plot by adding this function at the end of your ggplot2 syntax. The function is especially convenient when the color argument is specified by a variable in your data.

Usage

epinion_color(palette = "main", discrete = TRUE, reverse = FALSE, ...)

Arguments

palette

Defaults to main. If you need extra colors or the full palette, please specify extra, extra2 or full.

discrete

Defaults to TRUE. If you have an inherit continous variable, please change to FALSE.

reverse

Defaults to FALSE. If you need to reverse the order of the colors in the palette, change this to TRUE.

...

Additional arguments may apply.

Value

A CVI compliant plot


emilteddy/epinionR documentation built on May 21, 2023, 2:54 p.m.