https://github.com/insightsengineering/nestcolor
Package managing visual conventions of NEST graphs
https://github.com/insightsengineering/nestcolor
Last synced: 3 months ago
JSON representation
Package managing visual conventions of NEST graphs
- Host: GitHub
- URL: https://github.com/insightsengineering/nestcolor
- Owner: insightsengineering
- License: other
- Created: 2022-06-16T11:54:16.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-18T15:01:48.000Z (over 1 year ago)
- Last Synced: 2025-04-10T01:57:44.857Z (about 1 year ago)
- Language: R
- Homepage: https://insightsengineering.github.io/nestcolor/
- Size: 10.3 MB
- Stars: 5
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# nestcolor
[](https://cran.r-project.org/package=nestcolor)
[](https://cran.r-project.org/package=nestcolor)
[](https://insightsengineering.github.io/nestcolor/main/unit-test-report/)
[](https://insightsengineering.github.io/nestcolor/)
[](https://insightsengineering.github.io/nestcolor/main/coverage-report/)








[](https://www.repostatus.org/#active)
[](https://github.com/insightsengineering/nestcolor/tree/main)
[](https://github.com/insightsengineering/nestcolor/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)
The `nestcolor` package contains functions for managing visual conventions of NEST graphs. `nestcolor` is used to apply a standardized color palette to NEST `ggplot2` plots and graphical `teal` modules for greater continuity and cohesiveness among NEST package visualizations.
## Installation
For releases from August 2022 it is recommended that you [create and use a Github PAT](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token) to install the latest version of this package. Once you have the PAT, run the following:
```r
# Installation from CRAN
install.packages('nestcolor')
# For the latest development version you can install from Github
if (!require("remotes")) install.packages("remotes")
remotes::install_github("insightsengineering/nestcolor@*release")
```
## Example
```r
# Implementing the `nestcolor` color palette on a `ggplot2` object
library(ggplot2)
library(nestcolor)
g <- ggplot(msleep, aes(vore)) +
geom_bar(aes(fill = conservation))
g
```

## Stargazers and Forkers
### Stargazers over time
[](https://starchart.cc/insightsengineering/nestcolor)
### Stargazers
[](https://github.com/insightsengineering/nestcolor/stargazers)
### Forkers
[](https://github.com/insightsengineering/nestcolor/network/members)