Description Usage Arguments Value Examples
This function builds palettes based on soil profiles. View photos for each palette On Github.
1 | soil_palette(name, n, type = c("discrete", "continuous"), direction = 1)
|
name |
Name of the color palette. Options are |
n |
Number of colors in the palette. Palletes include 5 colors, which can be used discretely, or if more are desired, used as a gradient. If omitted, n = length of palette. |
type |
Usage of palette as "continuous" or "discrete". Continuous usage interpolates between colors to create a scale of values. If omitted, function assumes continuous if n > length of palette, and discrete if n < length of palette. |
direction |
(TODO) |
TODO
1 2 3 | soil_palette("durorthod",n=100,type="continuous")
soil_palette("durorthod",3)
soil_palette("durorthod", 50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.