Learn R Programming

simplevis (version 6.4.0)

pal_na: NA palette.

Description

A function to retreive a hex code for a colour to use for NA values.

Usage

pal_na(pal = "#7F7F7F")

Value

A character vector.

Arguments

pal

The hex code or name of the NA colour. Defaults to "#7F7F7FFF".

Examples

Run this code
scales::show_col(pal_na()) 

Run the code above in your browser using DataLab