Learn R Programming

bivariatemaps (version 1.7)

bivariate.map: bivariate.map: Create a Bivariate Map

Description

Creates a Bivariate Map using two rasters and a color matrix created with colmat() function.

Usage

bivariate.map(
  rasterx,
  rastery,
  colormatrix,
  nquantiles = 10,
  trivariate = F,
  rasterz
)

Value

A plot with the bivariate map.

Arguments

rasterx

raster

rastery

raster

colormatrix

color matrix from colmat() function

nquantiles

number of quantiles in color matrix (same as used when using colmat() function)

trivariate

boolean indicating if should use a third raster for a "trivariate" map where the third variable corresponds to the transparency (alpha) of colors.

rasterz

raster (only if trivariate=T)

Examples

Run this code
# https://rfunctions.blogspot.com/2015/03/bivariate-maps-bivariatemap-function.html

Run the code above in your browser using DataLab