viridisPalette {ufs}R Documentation

Convenience function to get 2-7 color viridis palettes

Description

This function only exists to avoid importing the viridis package.

Usage

viridisPalette(x)

Arguments

x

The number of colors you want (seven at most).

Value

A vector of colours.


[Package ufs version 0.5.12 Index]