scale_transparent {eks}R 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

[Package eks version 1.0.4 Index]