Skip to content

LeiGuo0812/coloristr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convinent color and theme settings for ggplot2

The color palettes are mainly from tidyplots package.

Install

devtools::install_github("LeiGuo0812/coloristr")

Usage

  • Check all palettes
library(coloristr)
palette_info
display_all_palettes('discrete')
  • Get palette colors
get_continuous_palette('viridis')
  • Applying color palettes
library(coloristr)
library(ggplot2)

mtcars |> 
  ggplot(aes(x = mpg, y = disp, color = factor(cyl))) +
  geom_point() +
  scale_color_discrete_cr()

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages