Title: | A Limnology Themed Palette Generator |
Description: | Palettes generated from limnology based field and laboratory photos. Palettes can be used to generate color values to be used in any functions that calls for a color (i.e. ggplot(), plot(), flextable(), etc.). |
Date: | 2020-10-12 |
Version: | 0.1.0 |
Depends: | R (≥ 3.0) |
License: | GPL-3 |
LazyData: | true |
URL: | https://github.com/SwampThingPaul/LimnoPalettes |
BugReports: | https://github.com/SwampThingPaul/LimnoPalettes/issues |
Encoding: | UTF-8 |
RoxygenNote: | 7.1.1 |
NeedsCompilation: | no |
Packaged: | 2020-10-12 12:46:39 UTC; Julian_P |
Author: | Paul Julian |
Maintainer: | Paul Julian <pauljulianphd@gmail.com> |
Repository: | CRAN |
Date/Publication: | 2020-10-19 14:30:02 UTC |
A Limnology palette generator
Description
These are a handful of color palettes inspired by lakes, rivers, streams and wetlands. .
Usage
limno_palette(name, n, type = c("discrete", "continuous"))
Arguments
name |
Name of desired palette. Choices are:
|
n |
Number of colors desired. All color schemes are derived from photos provided by contributors to this twitter thread. If omitted, uses all colours. |
type |
Either "continuous" or "discrete". Use continuous if you want to automatically interpolate between colours. @importFrom graphics rgb rect par image text |
Value
A vector of colours.
Examples
limno_palette("IowaSummer")
limno_palette("Bloom2")
limno_palette("PeriFA",10,"continuous")
Complete list of palettes
Description
Use limno_palette()
to construct palettes of desired length.
Usage
limno_palettes
Format
An object of class list
of length 9.
Print a palette
Description
Print a palette
Usage
## S3 method for class 'palette'
print(x, ...)
Arguments
x |
Desired palette |
... |
further arguments passed to or from other methods. |