Package palettetown. April 7, 2016

Similar documents
Package gameofthrones

Package harrypotter. September 3, 2018

Package autocogs. September 22, Title Automatic Cognostic Summaries Version 0.1.1

Package ggimage. R topics documented: November 1, Title Use Image in 'ggplot2' Version 0.0.7

Package crossword.r. January 19, 2018

Package ggimage. R topics documented: December 5, Title Use Image in 'ggplot2' Version 0.1.0

Package glue. March 12, 2019

Package rwars. January 14, 2017

Package mason. July 5, 2018

Package messaging. May 27, 2018

Package datasets.load

Package ecoseries. R topics documented: September 27, 2017

Package spark. July 21, 2017

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package farver. November 20, 2018

Package shades. April 26, 2018

Package Mondrian. R topics documented: March 4, Type Package

Package sigmanet. April 23, 2018

Package ensurer. August 29, 2016

Package ggextra. April 4, 2018

Package CatEncoders. March 8, 2017

Package ECctmc. May 1, 2018

Package taxizedb. June 21, 2017

Package rbraries. April 18, 2018

Package sfc. August 29, 2016

Package superheat. February 4, 2017

Package fastdummies. January 8, 2018

Package docxtools. July 6, 2018

Package humanize. R topics documented: April 4, Version Title Create Values for Human Consumption

Package WordR. September 7, 2017

Package customlayout

Package rtext. January 23, 2019

Package tidyimpute. March 5, 2018

Package strat. November 23, 2016

Package Combine. R topics documented: September 4, Type Package Title Game-Theoretic Probability Combination Version 1.

Package robotstxt. November 12, 2017

Package sankey. R topics documented: October 22, 2017

Package crochet. January 8, 2018

Package pairsd3. R topics documented: August 29, Title D3 Scatterplot Matrices Version 0.1.0

Package deductive. June 2, 2017

Package colf. October 9, 2017

Package fitbitscraper

Package colourpicker

Package NFP. November 21, 2016

Package getopt. February 16, 2018

Package shinyhelper. June 21, 2018

Package sqlscore. April 29, 2018

Package densityclust

Package vip. June 15, 2018

Package bisect. April 16, 2018

Package zeallot. R topics documented: September 28, Type Package

Package kirby21.base

Package canvasxpress

Package testit. R topics documented: June 14, 2018

Package autoshiny. June 25, 2018

Package readobj. November 2, 2017

Package nima. May 23, 2018

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package barcoder. October 26, 2018

Package areaplot. October 18, 2017

Package pwrab. R topics documented: June 6, Type Package Title Power Analysis for AB Testing Version 0.1.0

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2

Package packcircles. April 28, 2018

Package dbx. July 5, 2018

Package clusternomics

Package panelview. April 24, 2018

Package kdtools. April 26, 2018

Package condformat. October 19, 2017

Package fastqcr. April 11, 2017

Package comparedf. February 11, 2019

Package widyr. August 14, 2017

Package RYoudaoTranslate

Package modmarg. R topics documented:

Package validara. October 19, 2017

Package swatches. December 21, 2017

Package preprosim. July 26, 2016

Package nngeo. September 29, 2018

Package ecotox. June 28, 2018

Package mapr. April 11, 2017

Package ggdark. R topics documented: January 11, Type Package Title Dark Mode for 'ggplot2' Themes Version Author Neal Grantham

Package clustering.sc.dp

Package biganalytics

Package TrajDataMining

Package d3plus. September 25, 2017

Package inca. February 13, 2018

Package facerec. May 14, 2018

Package hextri. April 22, 2016

Package oec. R topics documented: May 11, Type Package

Package rgho. R topics documented: January 18, 2017

Package profvis. R topics documented:

Package queuecomputer

Package clustmixtype

Package sigqc. June 13, 2018

Package reval. May 26, 2015

Package eply. April 6, 2018

Package haven. April 9, 2015

Package climber. R topics documented:

Package reghelper. April 8, 2017

Package labelvector. July 28, 2018

Package wrswor. R topics documented: February 2, Type Package

Transcription:

Type Package Title Use Pokemon Inspired Colour Palettes Version 0.1.1 Date 2016-04-06 Author Tim Lucas Package palettetown April 7, 2016 Maintainer Tim Lucas <timcdlucas@gmail.com> Use Pokemon(R) inspired palettes with additional 'ggplot2' scales. Palettes are the colours in each Pokemon's sprite, ordered by how common they are in the image. The first 386 Pokemon are currently provided. Suggests ggplot2, magrittr Imports grdevices, stats, graphics License MIT + file LICENSE Copyright Pokemon, pokedex and all names are trademarks of Nintendo. URL https://github.com/timcdlucas/palettetown RoxygenNote 5.0.1 NeedsCompilation no Repository CRAN Date/Publication 2016-04-07 01:01:15 R topics documented: ichooseyou......................................... 2 palettetown......................................... 2 pokedex........................................... 3 pokepal........................................... 3 scale_colour_poke..................................... 4 Index 6 1

2 palettetown ichooseyou Get a palette. Alias for pokepal. Get a palette by either giving a number or name. The recomended syntax for this function is Magikarp %>% ichooseyou using the pipe operator %>% from the magrittr package. To specify the parameter use Snorlax %>% ichooseyou(5) ichooseyou( = 1, = NULL) If is given an integer, the full palette is clustered into that many groups (ward clustering in HSV space). The most common colour in each cluster is then returned. It is hoped this will give a good balance between reflecting the s colouring while giving relatively distinct colours. See Also pokepal library(magrittr) pal <- Hoothoot %>% ichooseyou pal2 <- Pichu %>% ichooseyou(6) palettetown Pokemon inspired colour palettes. Pokemon inspired colour palettes. Author(s) Tim CD Lucas

pokedex 3 pokedex Display palettes. Display 10 palettes starting from a name or number. If no name or number is given, 10 of the better palettes are displayed. Pokedex is a Trademark of Nintendo. pokedex( = NULL, = NULL, cb = NULL) cb A number between 1 and 4 to select ten of 40 colourblind friendly (Deuteranomaly) palettes. is ignored if used, but works as normal. If is given an integer, the full palette is clustered into that many groups (ward clustering in HSV space). The most common colour in each cluster is then returned. It is hoped this will give a good balance between reflecting the s colouring while giving relatively distinct colours. Thanks to Luis Verde for the colourblind suitable selection. pokedex() pokedex( Metapod ) pokedex(5, = 2) pokedex(cb = 3) pokedex(cb = 2, = 6) pokepal Get a palette. Get a (R) palette by either giving a number or name. pokepal( = 1, = NULL)

4 scale_colour_poke If is given an integer, the full palette is clustered into that many groups (ward clustering in HSV space, using only hue and downweighted saturation). The most common colour in each cluster is then returned. It is hoped this will give a good balance between reflecting the s colouring while giving relatively distinct colours. A few have odd names. Argument ignores letter case. Female and Male Nidoran are named NidoranF and NidoranM respectively. Mr. Mime should be either Mr. Mime or mr. mime. The full stop and space are needed. See Also ichooseyou pal <- pokepal(3) plot(1:length(pal), col = pal) scale_colour_poke Add a palette to a ggplot2 colour or fill scale. Get a palette by either giving a number or name. scale_colour_poke(..., = 1, = NULL) scale_fill_poke(..., = 1, = NULL) scale_color_poke(..., = 1, = NULL)... Other arguments passed on to discrete_scale to control name, limits, breaks, labels and so forth.

scale_colour_poke 5 If is given an integer, the full palette is clustered into that many groups (ward clustering in HSV space). The most common colour in each cluster is then returned. It is hoped this will give a good balance between reflecting the s colouring while giving relatively distinct colours. library(ggplot2) qplot(sepal.length, Sepal.Width, colour = Species, data=iris) + scale_colour_poke( = Metapod )

Index ichooseyou, 2, 4 palettetown, 2 palettetown-package (palettetown), 2 pokedex, 3 pokepal, 2, 3 scale_color_poke (scale_colour_poke), 4 scale_colour_poke, 4 scale_fill_poke (scale_colour_poke), 4 6