Description Usage Arguments Value Examples
View source: R/bivarmap_colmatrix.R
This function creates the matrix of colors to be used in
bivariate maps plots. It created a matrix with nbreaks
x nbreaks
colors do be used to represent a gradient in two different
continuous variables.
1 2 3 4 5 6 7 8 9 10 11 12 | bivarmap_colmatrix(
nbreaks = 3,
breakstyle = "quantile",
upperleft = "#0096EB",
upperright = "#820050",
bottomleft = "#BEBEBE",
bottomright = "#FFE60F",
xlab = "x label",
ylab = "y label",
plotLeg = TRUE,
saveLeg = FALSE
)
|
nbreaks |
|
breakstyle |
|
upperleft, upperright, bottomleft, bottomright |
|
xlab, ylab |
|
plotLeg |
|
saveLeg |
|
Matrix of colors to be used in bivariate map plots.
1 2 3 4 | data("temprec")
colmatrix <- bivarmap::bivarmap_colmatrix(nbreaks = 9)
colmatrix
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.