Other packages > Find by keyword >

mexicolors  

Mexican Politics-Inspired Color Palette Generator
View on CRAN: Click here


Download and install mexicolors package within the R console
Install from CRAN:
install.packages("mexicolors")

Install from Github:
library("remotes")
install_github("cran/mexicolors")

Install by package version:
library("remotes")
install_version("mexicolors", "0.2.0")



Attach the package and use:
library("mexicolors")
Maintained by
Alejandro Platas-López
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2021-09-07
Latest Update: 2021-09-07
Description:
A color palette generator inspired by Mexican politics, with colors ranging from red on the left to gray in the middle and green on the right. Palette options range from only a few colors to several colors, but with discrete and continuous options to offer greatest flexibility to the user. This package allows for a range of applications, from mapping brief discrete scales (e.g., four colors for Morena, PRI, and PAN) to continuous interpolated arrays including dozens of shades graded from red to green.
How to cite:
Alejandro Platas-López (2021). mexicolors: Mexican Politics-Inspired Color Palette Generator. R package version 0.2.0, https://cran.r-project.org/web/packages/mexicolors. Accessed 11 Jun. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited mexicolors R package
View mexicolors citation profile
Other R packages that mexicolors depends, imports, suggests or enhances
Complete documentation for mexicolors
Functions, R codes and Examples using the mexicolors R package
Some associated functions: mexico_palette . mexico_palettes . mexicolors . 
Some associated R codes: mexico.R . mx_colors.R .  Full mexicolors package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

leontief  
Input-Output Analysis
An implementation of the Input-Output model developed by Wassily Leontief that represents the inter ...
Download / Learn more Package Citations See dependency  
stevedata  
Steve's Toy Data for Teaching About a Variety of Methodological, Social, and Political Topics
This is a collection of various kinds of data with broad uses for teaching. My students, and academ ...
Download / Learn more Package Citations See dependency  
clusrank  
Wilcoxon Rank Tests for Clustered Data
Non-parametric tests (Wilcoxon rank sum test and Wilcoxon signed rank test) for clustered data docu ...
Download / Learn more Package Citations See dependency  
Voss  
Generic Voss Algorithm (Random Sequential Additions)
Generating realizations of a fractal Brownian function on uniform 1D & 2D grid with classic and ...
Download / Learn more Package Citations See dependency  
hsphase  
Phasing, Pedigree Reconstruction, Sire Imputation and Recombination Events Identification of Half-sib Families Using SNP Data
Identification of recombination events, haplotype reconstruction, sire imputation and pedigree recon ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

27,372

R Packages

233,548

Dependencies

72,820

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA