get.ggsci.color: Get colors by ggsci

View source: R/ColorRelated.R

get.ggsci.colorR Documentation

Get colors by ggsci

Description

Get colors by ggsci

Usage

get.ggsci.color(palette = "nrc", n = 7, alpha = 1)

Arguments

palette

default: nrc. Palette ref: https://nanx.me/ggsci/articles/ggsci.html

n

number of colors, default n = 7

alpha

1

Examples

get.ggsci.color("nrc", n = 2, alpha = 0.7)

ProfessionalFarmer/loonR documentation built on Oct. 9, 2024, 9:56 p.m.