scale_color_pc: Scale a fill color

View source: R/plots.R

scale_color_pcR Documentation

Scale a fill color

Description

Scale a fill color

Usage

scale_color_pc(
  palette = c("col1", "col2", "col3", "bluered"),
  alpha = 1,
  n = 11,
  ...
)

Arguments

palette

col1~3; or a vector of colors, you can get from: RColorBrewer::brewer.pal(5,"Set2") or ggsci::pal_aaas()(5)

alpha

alpha

n

how many colors you need

...

additional

Value

scale_color


pcutils documentation built on June 26, 2024, 1:06 a.m.