Package 'jwst'

Title: JWST Color Palette for R
Description: An R color palette inspired by the images from the JWST.
Authors: Eric Leung [aut, cre]
Maintainer: Eric Leung <[email protected]>
License: MIT + file LICENSE
Version: 0.1.0
Built: 2024-08-28 02:37:15 UTC
Source: https://github.com/erictleung/jwst

Help Index


jwst palette generator

Description

Function derived from https://github.com/ciannabp/inauguration with minor changes.

Usage

jwst(name, n)

Arguments

name

Name of desired palette. Choices are: carina, smacs, souther_nebula_1, souther_nebula_2, stephans_quintet

n

Number of colors desired. All palettes have 9 colors. Most color schemes are derived from If omitted, uses all colors.

Value

A vector of colors.

Examples

jwst("carina")

Complete list of palettes

Description

Use jwst to construct palettes of desired length.

Usage

jwst_palettes

Format

An object of class list of length 5.