scale_color_pc {pcutils}R 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


[Package pcutils version 0.2.6 Index]