doypacolors
R package DOYPAColors - Don't Overthink Your Palette of Colors
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (18.2%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
R package DOYPAColors - Don't Overthink Your Palette of Colors
Basic Info
- Host: GitHub
- Owner: jmestret
- License: other
- Language: R
- Default Branch: main
- Homepage: https://jmestret.github.io/DOYPAColors/
- Size: 7.67 MB
Statistics
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 2
Created about 4 years ago
· Last pushed over 1 year ago
Metadata Files
Readme
Changelog
License
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# DOYPAColors
[](https://cran.r-project.org/package=DOYPAColors)
[](https://github.com/jmestret/DOYPAColors/actions/workflows/R-CMD-check.yaml)
[](https://codecov.io/gh/jmestret/DOYPAColors)
## Overview
Tired of agonizing over color choices for your data visualizations? Let **DOYPAColors** do the heavy lifting for you! Our R package provides a delightful array of color palettes, each meticulously crafted to enhance your plots. With **DOYPAColors**, you can even let us surprise you with a palette choice, so you can focus on what matters most—telling your data's unique story. Say goodbye to color selection headaches and hello to vibrant, eye-catching visuals! 🎨
## Installation
To install **DOYPAColors** from CRAN, use:
```r
install.packages("DOYPAColors")
```
For the development version from GitHub, use:
```r
if (!require("devtools")) {
install.packages("devtools")
}
devtools::install_github("jmestret/DOYPAColors")
```
## How to use
Using **DOYPAColors** is straightforward. Access and utilize our palettes in your R plots with a single line of code:
```r
library(DOYPAColors)
color_palette <- doypa()
```
You can then apply these palettes to your `ggplot2` plots using the functions `scale_fill_doypa()` and `scale_color_doypa()`:
```r
library(ggplot2)
# Create a bar plot with a DOYPAColors palette
ggplot(iris, aes(x = Species, y = Sepal.Length, fill = Species)) +
geom_boxplot() +
scale_fill_doypa(discrete = TRUE) +
theme_classic()
```
You can explore how specific palettes fit different types of data using the `preview_pal()` function:
```r
preview_pal("doypa")
```
### Available palettes
Here’s a visualization of all available palettes in **DOYPAColors**:
For more advanced usage and options, check out our [web](https://jmestret.github.io/DOYPAColors/) to get the most out of **DOYPAColors** palettes!
## Contributing
We welcome contributions from the community! If you have a new color palette you’d like to share, we’d be thrilled to consider it for inclusion in **DOYPAColors**. To submit your palette:
1. Provide a name for your palette.
2. Specify the type of palette (sequential, diverging, or qualitative).
3. List the HEX color codes for your palette.
You can submit your palette details by opening an issue or a pull request on our [GitHub repository](https://github.com/jmestret/DOYPAColors). We will review your submission and, if it meets our criteria, we’ll be glad to include it in the package!
## How to cite
If you use **DOYPAColors**, please reference the R package as follows:
Jorge Mestre (2023). DOYPAColors: Don't Overthink Your Palette of Colors. R package version 0.0.2, https://cran.r-project.org/web/packages/DOYPAColors
Owner
- Name: Jorge Mestre Tomás
- Login: jmestret
- Kind: user
- Repositories: 9
- Profile: https://github.com/jmestret
Hi, I'm Jorge
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Packages
- Total packages: 3
-
Total downloads:
- cran 224 last-month
-
Total dependent packages: 0
(may contain duplicates) -
Total dependent repositories: 0
(may contain duplicates) - Total versions: 6
- Total maintainers: 1
proxy.golang.org: github.com/jmestret/DOYPAColors
- Documentation: https://pkg.go.dev/github.com/jmestret/DOYPAColors#section-documentation
- License: other
-
Latest release: v0.0.2
published almost 2 years ago
Rankings
Dependent packages count: 6.5%
Average: 6.7%
Dependent repos count: 6.9%
Last synced:
10 months ago
proxy.golang.org: github.com/jmestret/doypacolors
- Documentation: https://pkg.go.dev/github.com/jmestret/doypacolors#section-documentation
- License: other
-
Latest release: v0.0.2
published almost 2 years ago
Rankings
Dependent packages count: 6.5%
Average: 6.7%
Dependent repos count: 6.9%
Last synced:
10 months ago
cran.r-project.org: DOYPAColors
Don't Overthink Your Palette of Colors
- Homepage: https://github.com/jmestret/DOYPAColors
- Documentation: http://cran.r-project.org/web/packages/DOYPAColors/DOYPAColors.pdf
- License: MIT + file LICENSE
-
Latest release: 0.0.2
published almost 2 years ago
Rankings
Dependent packages count: 28.9%
Dependent repos count: 36.9%
Average: 50.9%
Downloads: 86.8%
Maintainers (1)
Last synced:
10 months ago