Scale a fill color

scale_fill_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_fill