powered by
Creates a color matrix to be used in bivariate.map() function.
colmat( nquantiles = 10, upperleft = "blue", upperright = "red", bottomleft = "grey", bottomright = "yellow", xlab = "x label", ylab = "y label" )
Two outputs: a color matrix object to be used in bivariate.map() function, and a plot of the color matrix.
numeric variable for number of quantiles in color matrix
upperleft color of color matrix
upperright color of color matrix
bottomleft color of color matrix
bottomright color of color matrix
character variable
col.matrix<-colmat(nquantiles=10, xlab="My x label", ylab="My y label") # https://rfunctions.blogspot.com/2015/03/bivariate-maps-bivariatemap-function.html
Run the code above in your browser using DataLab