scale_transparent: Change individual colours in discrete colour scale to...

View source: R/tidy-ks-prelim.R

scale_transparentR Documentation

Change individual colours in discrete colour scale to transparent

Description

Change individual colours in discrete colour scale to transparent.

Usage

scale_transparent(x, ind=NULL)

Arguments

x

discrete colour scale

ind

index of colour scale to change to transparent. Default is median.

Value

The output is the same colour scale, except that the colours at the indices enumerated by ind are changed to transparent.

Examples

## see ? tidy_kdde

eks documentation built on May 29, 2024, 1:17 a.m.